remove position, Ox.VideoPlayer fails with that right now
This commit is contained in:
parent
7bc98ad2ad
commit
6ccc9ef0bc
1 changed files with 4 additions and 3 deletions
|
@ -22,7 +22,8 @@ Ox.load('UI', {
|
||||||
var videoOptions = getVideoOptions(result.data);
|
var videoOptions = getVideoOptions(result.data);
|
||||||
that.append(pandora.player = Ox.VideoPlayer({
|
that.append(pandora.player = Ox.VideoPlayer({
|
||||||
censored: videoOptions.censored,
|
censored: videoOptions.censored,
|
||||||
controlsBottom: ['play', 'volume', 'scale', 'timeline', 'position', 'settings'],
|
controlsBottom: ['play', 'volume', 'scale', 'timeline', 'settings'],
|
||||||
|
duration: result.data.duration,
|
||||||
enableFind: false,
|
enableFind: false,
|
||||||
enableFullscreen: true,
|
enableFullscreen: true,
|
||||||
enableKeyboard: true,
|
enableKeyboard: true,
|
||||||
|
@ -30,7 +31,7 @@ Ox.load('UI', {
|
||||||
enableTimeline: true,
|
enableTimeline: true,
|
||||||
enableVolume: true,
|
enableVolume: true,
|
||||||
externalControls: false,
|
externalControls: false,
|
||||||
height: document.height,
|
height: window.innerHeight,
|
||||||
'in': options['in'],
|
'in': options['in'],
|
||||||
out: options.out,
|
out: options.out,
|
||||||
paused: options.paused,
|
paused: options.paused,
|
||||||
|
@ -43,7 +44,7 @@ Ox.load('UI', {
|
||||||
timeline: '/' + options.item + '/' + 'timeline16p.png',
|
timeline: '/' + options.item + '/' + 'timeline16p.png',
|
||||||
title: result.data.title,
|
title: result.data.title,
|
||||||
video: videoOptions.video,
|
video: videoOptions.video,
|
||||||
width: document.width
|
width: window.innerWidth
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
playing: checkRange,
|
playing: checkRange,
|
||||||
|
|
Loading…
Reference in a new issue