use ui.videoSubtitles for enableSubtitles
This commit is contained in:
parent
dd234d9c65
commit
1da7135e38
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ pandora.ui.embedPlayer = function() {
|
|||
enableKeyboard: !isFrame,
|
||||
enableMouse: !isFrame,
|
||||
enablePosition: !isFrame,
|
||||
enableSubtitles: true,
|
||||
enableSubtitles: ui.videoSubtitles,
|
||||
enableTimeline: !isFrame,
|
||||
enableVolume: !isFrame,
|
||||
height: options.height,
|
||||
|
@ -103,7 +103,7 @@ pandora.ui.embedPlayer = function() {
|
|||
resolution: ui.videoResolution,
|
||||
scaleToFill: ui.videoScale == 'fill',
|
||||
showIconOnLoad: true,
|
||||
subtitles: ui.videoSubtitles ? video.subtitles : [],
|
||||
subtitles: video.subtitles,
|
||||
subtitlesOffset: ui.videoSubtitlesOffset,
|
||||
timeline: options.playInToOut ? function(size, i) {
|
||||
return pandora.getMediaURL('/' + options.item
|
||||
|
|
Loading…
Reference in a new issue