forked from openlp/openlp
new version of vlc.py
This commit is contained in:
parent
2c225c19a0
commit
8412caf006
File diff suppressed because it is too large
Load Diff
@ -297,11 +297,12 @@ class WebkitPlayer(MediaPlayer):
|
||||
def load(self, display):
|
||||
log.debug(u'load vid in Webkit Controller')
|
||||
controller = display.controller
|
||||
if display.hasAudio:
|
||||
if display.hasAudio and not controller.media_info.is_background:
|
||||
volume = controller.media_info.volume
|
||||
vol = float(volume) / float(100)
|
||||
else:
|
||||
vol = 0
|
||||
print vol
|
||||
path = controller.media_info.file_info.absoluteFilePath()
|
||||
if controller.media_info.is_background:
|
||||
loop = u'true'
|
||||
|
Loading…
Reference in New Issue
Block a user