diff --git a/static/js/embedPlayer.js b/static/js/embedPlayer.js index 504d012e..0db6a7b8 100644 --- a/static/js/embedPlayer.js +++ b/static/js/embedPlayer.js @@ -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' diff --git a/static/js/pandora.js b/static/js/pandora.js index 0939d150..96a6ece9 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -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) {