oxjs/demos/video/js/video.js

17 lines
438 B
JavaScript

Ox.load('UI', {
debug: true,
theme: 'modern'
}, function() {
var id = '0393109';
var url = 'http://next.0xdb.org/' + id + '/96p.webm?' + Ox.random(1000000);
var timeline = 'http://next.0xdb.org/' + id + '/timeline.16.png';
Ox.UI.$body.css({
padding: '16px'
});
Ox.VideoPlayer({
height: 288,
timeline: timeline,
url: url,
width: 540
}).appendTo(Ox.UI.$body);
});