forked from 0x2620/pandora
pass default subtitle language to player and editor
This commit is contained in:
parent
68ead8a2af
commit
18d5d15293
2 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,7 @@ pandora.ui.editor = function(data) {
|
|||
showLayers: Ox.clone(ui.showLayers),
|
||||
showUsers: pandora.site.annotations.showUsers,
|
||||
subtitles: data.subtitles,
|
||||
subtitlesDefaultTrack: pandora.site.language,
|
||||
subtitlesLayer: data.subtitlesLayer,
|
||||
timeline: ui.videoTimeline,
|
||||
timelines: pandora.site.timelines,
|
||||
|
|
|
@ -49,6 +49,7 @@ pandora.ui.player = function(data) {
|
|||
showTimeline: ui.showTimeline,
|
||||
smallTimelineURL: pandora.getMediaURL('/' + ui.item + '/timeline16p.jpg'),
|
||||
subtitles: data.subtitles,
|
||||
subtitlesDefaultTrack: 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