32 lines
909 B
JavaScript
32 lines
909 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: 96 * 384/180,//96 * 256/180,
|
|
subtitles: 'srt/' + id + '.srt',
|
|
timelineURL: timeline,
|
|
title: 'Brick',
|
|
videoURL: url,
|
|
width: 384//256
|
|
}).appendTo(Ox.UI.$body);
|
|
/*
|
|
var id = '0133093';
|
|
var url = 'http://next.0xdb.org/' + id + '/96p.webm?' + Ox.random(1000000);
|
|
var timeline = 'http://next.0xdb.org/' + id + '/timeline.16.png';
|
|
Ox.VideoPlayer({
|
|
height: 96 * 256/230,
|
|
timeline: timeline,
|
|
url: url,
|
|
width: 256
|
|
}).css({
|
|
left: '300px'
|
|
}).appendTo(Ox.UI.$body);
|
|
*/
|
|
});
|