include subtitles in embed player again, fixes #2589
This commit is contained in:
parent
cfa89206fe
commit
a0213cff3e
1 changed files with 2 additions and 1 deletions
|
@ -40,6 +40,7 @@ pandora.ui.embedPlayer = function() {
|
|||
sizes = getSizes();
|
||||
|
||||
options.height = sizes.videoHeight;
|
||||
video.subtitles = getSubtitles(video);
|
||||
|
||||
if (options.title) {
|
||||
$title = Ox.Element()
|
||||
|
@ -102,7 +103,7 @@ pandora.ui.embedPlayer = function() {
|
|||
resolution: ui.videoResolution,
|
||||
scaleToFill: ui.videoScale == 'fill',
|
||||
showIconOnLoad: true,
|
||||
subtitles: getSubtitles(options),
|
||||
subtitles: video.subtitles,
|
||||
timeline: options.playInToOut ? function(size, i) {
|
||||
return pandora.getMediaURL('/' + options.item
|
||||
+ '/timelineantialias'
|
||||
|
|
Loading…
Reference in a new issue