From 91706f3becd180509b86170a6df1e049bf30148e Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 13 Feb 2013 13:02:14 +0530 Subject: [PATCH] in embed player, rewind when done --- static/js/embed/pandora.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 18c363dcb..5d802d468 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -155,6 +155,9 @@ Ox.load('UI', { ) { if (!pandora.$player.options('paused')) { pandora.$player.togglePaused(); + if (data.position > options.out) { + data.position = options['in'] - 0.05; + } } pandora.$player.options({ position: data.position < options['in'] - 0.04