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