From 4a26408955a571e3cd480809499f77a727cb76e4 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 12 Feb 2013 12:43:46 +0530 Subject: [PATCH] in embed player, allow for omitting in and 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 7183283c5..4f0f99da2 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -39,9 +39,9 @@ Ox.load('UI', { enableVolume: true, externalControls: false, height: window.innerHeight, - 'in': options['in'], + 'in': options['in'] || 0, invertHighlight: true, - out: options.out, + out: options.out || data.duration, paused: options.paused, position: options['in'], poster: '/' + options.item + '/' + '96p' + options['in'] +'.jpg',