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 true
'Show controls on videos expanded inline. Turn this off if you want to contract videos by clicking on them.' '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': [ 'Loop in New Tab': [
true true
'Loop videos opened in their own tabs, and apply settings for inline expanded videos to them.' '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' if elType is 'video'
img.loop = true img.loop = true
img.autoplay = Conf['Autoplay'] img.autoplay = Conf['Autoplay']
img.muted = !Conf['Allow Sound']
$.extend img.dataset, @dataset $.extend img.dataset, @dataset
nodes.current.pause?() nodes.current.pause?()

View File

@ -29,7 +29,6 @@ ImageHover =
if isVideo if isVideo
el.loop = true el.loop = true
el.controls = false el.controls = false
el.muted = not Conf['Allow Sound']
el.play() if Conf['Autoplay'] el.play() if Conf['Autoplay']
UI.hover UI.hover
root: @ root: @

View File

@ -1,7 +1,6 @@
Video = Video =
configure: (video, disableAutoplay) -> configure: (video, disableAutoplay) ->
video.loop = true video.loop = true
video.muted = !Conf['Allow Sound']
video.controls = Conf['Show Controls'] video.controls = Conf['Show Controls']
video.autoplay = false video.autoplay = false
if Conf['Autoplay'] and not disableAutoplay if Conf['Autoplay'] and not disableAutoplay