forked from 0x2620/pandora
pass subtitles to player too
This commit is contained in:
parent
098811d383
commit
47e4f1cd84
1 changed files with 3 additions and 2 deletions
|
@ -47,10 +47,11 @@ pandora.ui.player = function(data) {
|
|||
showUsers: pandora.site.annotations.showUsers,
|
||||
showTimeline: ui.showTimeline,
|
||||
smallTimelineURL: pandora.getMediaURL('/' + ui.item + '/timeline16p.jpg?' + data.modified),
|
||||
subtitlesDefaultTrack: Ox.getLanguageNameByCode(pandora.site.language),
|
||||
subtitles: data.subtitles || [],
|
||||
subtitlesDefaultTrack: data.subtitlesDefaultTrack || Ox.getLanguageNameByCode(pandora.site.language),
|
||||
subtitlesLayer: data.subtitlesLayer,
|
||||
subtitlesOffset: ui.videoSubtitlesOffset,
|
||||
subtitlesTrack: Ox.getLanguageNameByCode(pandora.site.language),
|
||||
subtitlesTrack: data.subtitlesTrack || Ox.getLanguageNameByCode(pandora.site.language),
|
||||
timeline: ui.videoTimeline,
|
||||
timelineTooltip: Ox._('timeline') + ' <span class="OxBright">' + Ox.SYMBOLS.shift + 'T</span>',
|
||||
video: data.video,
|
||||
|
|
Loading…
Reference in a new issue