forked from 0x2620/pandora
only enabale subtitles is enabled in ui settings
This commit is contained in:
parent
9cc4225b86
commit
dd234d9c65
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ pandora.ui.embedPlayer = function() {
|
|||
resolution: ui.videoResolution,
|
||||
scaleToFill: ui.videoScale == 'fill',
|
||||
showIconOnLoad: true,
|
||||
subtitles: video.subtitles,
|
||||
subtitles: ui.videoSubtitles ? video.subtitles : [],
|
||||
subtitlesOffset: ui.videoSubtitlesOffset,
|
||||
timeline: options.playInToOut ? function(size, i) {
|
||||
return pandora.getMediaURL('/' + options.item
|
||||
|
|
Loading…
Reference in a new issue