overwrite subtitlesTrack
This commit is contained in:
parent
c17cc6d5cf
commit
08dc8f2bea
1 changed files with 2 additions and 2 deletions
|
@ -98,10 +98,10 @@ pandora.ui.editor = function(data) {
|
||||||
showLayers: Ox.clone(ui.showLayers),
|
showLayers: Ox.clone(ui.showLayers),
|
||||||
showUsers: pandora.site.annotations.showUsers,
|
showUsers: pandora.site.annotations.showUsers,
|
||||||
subtitles: data.subtitles,
|
subtitles: data.subtitles,
|
||||||
subtitlesDefaultTrack: Ox.getLanguageNameByCode(pandora.site.language),
|
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,
|
||||||
timelines: pandora.site.timelines,
|
timelines: pandora.site.timelines,
|
||||||
video: data.video,
|
video: data.video,
|
||||||
|
|
Loading…
Reference in a new issue