From 6ccc9ef0bcefc8f5bf30ff405547ee65cce502bd Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 2 Mar 2012 10:38:02 +0100 Subject: [PATCH] remove position, Ox.VideoPlayer fails with that right now --- static/js/embed/pandora.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 80cd7208..f36eea8e 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -22,7 +22,8 @@ Ox.load('UI', { var videoOptions = getVideoOptions(result.data); that.append(pandora.player = Ox.VideoPlayer({ censored: videoOptions.censored, - controlsBottom: ['play', 'volume', 'scale', 'timeline', 'position', 'settings'], + controlsBottom: ['play', 'volume', 'scale', 'timeline', 'settings'], + duration: result.data.duration, enableFind: false, enableFullscreen: true, enableKeyboard: true, @@ -30,7 +31,7 @@ Ox.load('UI', { enableTimeline: true, enableVolume: true, externalControls: false, - height: document.height, + height: window.innerHeight, 'in': options['in'], out: options.out, paused: options.paused, @@ -43,7 +44,7 @@ Ox.load('UI', { timeline: '/' + options.item + '/' + 'timeline16p.png', title: result.data.title, video: videoOptions.video, - width: document.width + width: window.innerWidth }) .bindEvent({ playing: checkRange,