embed panel: fix timeline for single frame embeds

This commit is contained in:
rolux 2013-02-25 10:49:31 +05:30
parent 182b924f04
commit 31fff58b33

View file

@ -144,7 +144,7 @@ pandora.ui.embedPanel = function() {
return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg'; return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg';
}, },
position: options.position, position: options.position,
showInToOut: options.playInToOut, showInToOut: options.playInToOut && options['in'] < options.out,
subtitles: ui.videoSubtitles ? video.subtitles : [], subtitles: ui.videoSubtitles ? video.subtitles : [],
type: options.timeline, type: options.timeline,
width: window.innerWidth - 16 width: window.innerWidth - 16