drop sound option until we actually get sound somewhere
This commit is contained in:
parent
bf1c3b4f01
commit
bca59889c7
@ -203,10 +203,6 @@ Config =
|
||||
true
|
||||
'Show controls on videos expanded inline. Turn this off if you want to contract videos by clicking on them.'
|
||||
]
|
||||
'Allow Sound': [
|
||||
true
|
||||
'Allow sound in videos.'
|
||||
]
|
||||
'Loop in New Tab': [
|
||||
true
|
||||
'Loop videos opened in their own tabs, and apply settings for inline expanded videos to them.'
|
||||
|
||||
@ -147,7 +147,6 @@ Gallery =
|
||||
if elType is 'video'
|
||||
img.loop = true
|
||||
img.autoplay = Conf['Autoplay']
|
||||
img.muted = !Conf['Allow Sound']
|
||||
|
||||
$.extend img.dataset, @dataset
|
||||
nodes.current.pause?()
|
||||
|
||||
@ -29,7 +29,6 @@ ImageHover =
|
||||
if isVideo
|
||||
el.loop = true
|
||||
el.controls = false
|
||||
el.muted = not Conf['Allow Sound']
|
||||
el.play() if Conf['Autoplay']
|
||||
UI.hover
|
||||
root: @
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
Video =
|
||||
configure: (video, disableAutoplay) ->
|
||||
video.loop = true
|
||||
video.muted = !Conf['Allow Sound']
|
||||
video.controls = Conf['Show Controls']
|
||||
video.autoplay = false
|
||||
if Conf['Autoplay'] and not disableAutoplay
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user