From 110078ec9a55645cf7819c0e016eb5ea5bb355ee Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 20 Feb 2013 16:27:44 +0530 Subject: [PATCH] update embed panel --- static/js/pandora/embedPanel.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/embedPanel.js b/static/js/pandora/embedPanel.js index 1d35a03c..359f0b70 100644 --- a/static/js/pandora/embedPanel.js +++ b/static/js/pandora/embedPanel.js @@ -128,16 +128,21 @@ pandora.ui.embedPanel = function() { $controls = Ox.Element(); if (options.showTimeline) { - $timeline = Ox.LargeVideoTimeline({ + $timeline = Ox.LargeVideoTimeline(Ox.extend({ duration: video.duration, getImageURL: function(type, i) { return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg'; }, position: options.position, + showInToOut: options.playInToOut, subtitles: ui.videoSubtitles ? video.subtitles : [], type: ui.videoTimeline, width: window.innerWidth - 16 - }) + }, options['in'] ? { + 'in': options['in'] + } : {}, options.out ? { + out: options.out + } : {})) .css({ top: '4px', left: '4px'