forked from 0x2620/pandora
tweak embed player
This commit is contained in:
parent
ff8e1caeef
commit
bf73eeabb5
1 changed files with 7 additions and 3 deletions
|
@ -28,9 +28,12 @@ Ox.load('UI', {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
that.append(pandora.player = Ox.VideoPlayer({
|
that.append(pandora.player = Ox.VideoPlayer({
|
||||||
controlsBottom: ['play', 'playInToOut', 'space', 'position'],
|
controlsBottom: ['play', 'volume', 'scale', 'timeline', 'position', 'settings'],
|
||||||
enableFind: false,
|
enableFind: false,
|
||||||
enableFullscreen: true,
|
enableFullscreen: true,
|
||||||
|
enableKeyboard: true,
|
||||||
|
enableMouse: true,
|
||||||
|
enableTimeline: true,
|
||||||
enableVolume: true,
|
enableVolume: true,
|
||||||
externalControls: false,
|
externalControls: false,
|
||||||
height: document.height,
|
height: document.height,
|
||||||
|
@ -39,8 +42,9 @@ Ox.load('UI', {
|
||||||
paused: true,
|
paused: true,
|
||||||
position: inPoint,
|
position: inPoint,
|
||||||
poster: '/' + item + '/' + '128p' + inPoint +'.jpg',
|
poster: '/' + item + '/' + '128p' + inPoint +'.jpg',
|
||||||
showMarkers: true,
|
showMarkers: false,
|
||||||
showMilliseconds: 2,
|
showMilliseconds: 0,
|
||||||
|
timeline: '/' + item + '/' + 'timeline16p.png',
|
||||||
title: result.data.title,
|
title: result.data.title,
|
||||||
video: video,
|
video: video,
|
||||||
width: document.width,
|
width: document.width,
|
||||||
|
|
Loading…
Reference in a new issue