drop sound option until we actually get sound somewhere

This commit is contained in:
ccd0 2014-05-16 19:52:18 -07:00
parent bf1c3b4f01
commit bca59889c7
4 changed files with 0 additions and 7 deletions

View File

@ -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.'

View File

@ -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?()

View File

@ -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: @

View File

@ -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