Compare commits

..

No commits in common. "e3e5e3b9e5362c968dd35151300b59d6a2f0d5a1" and "af657503636edf045a687ffd8c3d1933bfc742e3" have entirely different histories.

2 changed files with 1 additions and 7 deletions

View file

@ -42,9 +42,7 @@ pandora.ui.embedPlayer = function() {
sizes = getSizes();
options.height = sizes.videoHeight;
if (!video.subtitles) {
video.subtitles = pandora.getSubtitles(video);
}
video.subtitles = pandora.getSubtitles(video);
if (options.title) {
$title = Ox.Element()
@ -109,10 +107,7 @@ pandora.ui.embedPlayer = function() {
scaleToFill: ui.videoScale == 'fill',
showIconOnLoad: true,
subtitles: video.subtitles,
subtitlesDefaultTrack: video.subtitlesDefaultTrack || Ox.getLanguageNameByCode(pandora.site.language),
subtitlesLayer: video.subtitlesLayer,
subtitlesOffset: ui.videoSubtitlesOffset,
subtitlesTrack: video.subtitlesTrack || Ox.getLanguageNameByCode(pandora.site.language),
timeline: options.playInToOut ? function(size, i) {
return pandora.getMediaURL('/' + options.item
+ '/timelineantialias'

View file

@ -495,7 +495,6 @@ appPanel
pandora.$ui.embedPanel.options(data);
}
});
pandora.localInit && pandora.localInit();
} else if (isPrint) {
pandora.$ui.printView = pandora.ui.printView().display();
} else if (isHome) {