From 42463aeadf4d900706e995e2d85d5c0f39738ea2 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 12 Feb 2013 13:02:42 +0530 Subject: [PATCH] fix embed player w/o in/out --- static/js/embed/pandora.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 27352a341..9608e9406 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -41,7 +41,6 @@ Ox.load('UI', { height: window.innerHeight, invertHighlight: true, paused: options.paused, - position: options['in'] || 0, poster: '/' + options.item + '/' + '96p' + options['in'] +'.jpg', resolution: pandora.user.ui.videoResolution, showMarkers: false, @@ -52,7 +51,8 @@ Ox.load('UI', { video: data.video, width: window.innerWidth }, options['in'] ? { - 'in': options['in'] + 'in': options['in'], + position: options['in'] } : {}, options.out ? { out: options.out } : {}))