23 lines
670 B
JavaScript
23 lines
670 B
JavaScript
|
pandora.ui.videoPlayer = function(options) {
|
||
|
var url = options.url;
|
||
|
var timeline = options.timeline || "foo.png"; //FIXME
|
||
|
var that = pandora.$ui.videoPlayer = Ox.VideoPlayer({
|
||
|
video: url,
|
||
|
controlsTop: ['fullscreen'],
|
||
|
controlsBottom: ['play', 'volume', 'scale', 'timeline', 'position'],
|
||
|
height: 300,
|
||
|
width: 400,
|
||
|
showControlsOnLoad: true,
|
||
|
duration: 35,
|
||
|
timeline: timeline,
|
||
|
title: 'Test Video',
|
||
|
enableTimeline: true,
|
||
|
enableKeyboard: true,
|
||
|
enableMouse: true,
|
||
|
externalControls: true
|
||
|
// enableTimeline: true
|
||
|
});
|
||
|
return that;
|
||
|
};
|
||
|
|