Revert "Remove check for audio until we get word on where it's allowed."
This reverts commit 76639c1299db2e7e84c9fb3e54d4f8f379f46794.
This commit is contained in:
parent
53e16633a9
commit
25da29625e
@ -397,6 +397,9 @@ QR =
|
||||
else if duration > QR.max_duration_video
|
||||
QR.error "#{file.name}: Video too long (video: #{duration}s, max: #{QR.max_duration_video}s)"
|
||||
pass = false
|
||||
if video.mozHasAudio or video.webkitAudioDecodedByteCount
|
||||
QR.error "#{file.name}: Audio not allowed"
|
||||
pass = false
|
||||
cb pass, video
|
||||
cb = null
|
||||
$.on video, 'error', ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user