WebM with audio is now allowed on /wsr/ and /r/. #1319
This commit is contained in:
parent
5a49d1cd09
commit
0f673ea9c1
@ -16,7 +16,7 @@ Volume =
|
|||||||
name: 'Mouse Wheel Volume'
|
name: 'Mouse Wheel Volume'
|
||||||
cb: @node
|
cb: @node
|
||||||
|
|
||||||
return unless g.BOARD.ID in ['gif', 'wsg']
|
return unless g.BOARD.ID in ['gif', 'wsg', 'r', 'wsr']
|
||||||
|
|
||||||
if Conf['Mouse Wheel Volume']
|
if Conf['Mouse Wheel Volume']
|
||||||
Callbacks.CatalogThread.push
|
Callbacks.CatalogThread.push
|
||||||
|
|||||||
@ -260,7 +260,7 @@ QR.post = class
|
|||||||
@fileError 'Video lacks duration metadata (try remuxing)'
|
@fileError 'Video lacks duration metadata (try remuxing)'
|
||||||
else if duration > QR.max_duration_video
|
else if duration > QR.max_duration_video
|
||||||
@fileError "Video too long (video: #{duration}s, max: #{QR.max_duration_video}s)"
|
@fileError "Video too long (video: #{duration}s, max: #{QR.max_duration_video}s)"
|
||||||
if g.BOARD.ID not in ['gif', 'wsg'] and $.hasAudio el
|
if g.BOARD.ID not in ['gif', 'wsg', 'r', 'wsr'] and $.hasAudio el
|
||||||
@fileError 'Audio not allowed'
|
@fileError 'Audio not allowed'
|
||||||
|
|
||||||
setThumbnail: (el) ->
|
setThumbnail: (el) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user