embedTimeline: fix subtitles (fixes #2823)

This commit is contained in:
Will Thompson 2015-08-07 13:42:20 +02:00 committed by j
commit 5418613023
4 changed files with 17 additions and 31 deletions

View file

@ -65,7 +65,7 @@ pandora.ui.embedTimeline = function() {
position: options.position,
resolution: Ox.min(pandora.site.video.resolutions),
smallTimelineURL: pandora.getMediaURL('/' + ui.item + '/timeline16p.jpg'),
subtitles: video.subtitles,
subtitles: pandora.getSubtitles(video),
timeline: ui.videoTimeline,
timelines: pandora.site.timelines,
video: video.video,