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,
|
showUsers: pandora.site.annotations.showUsers,
|
||||||
showTimeline: ui.showTimeline,
|
showTimeline: ui.showTimeline,
|
||||||
smallTimelineURL: pandora.getMediaURL('/' + ui.item + '/timeline16p.jpg?' + data.modified),
|
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,
|
subtitlesLayer: data.subtitlesLayer,
|
||||||
subtitlesOffset: ui.videoSubtitlesOffset,
|
subtitlesOffset: ui.videoSubtitlesOffset,
|
||||||
subtitlesTrack: Ox.getLanguageNameByCode(pandora.site.language),
|
subtitlesTrack: data.subtitlesTrack || Ox.getLanguageNameByCode(pandora.site.language),
|
||||||
timeline: ui.videoTimeline,
|
timeline: ui.videoTimeline,
|
||||||
timelineTooltip: Ox._('timeline') + ' <span class="OxBright">' + Ox.SYMBOLS.shift + 'T</span>',
|
timelineTooltip: Ox._('timeline') + ' <span class="OxBright">' + Ox.SYMBOLS.shift + 'T</span>',
|
||||||
video: data.video,
|
video: data.video,
|
||||||
|
|
Loading…
Reference in a new issue