add Ox.VideoPlayer, demos/video/, and prove Chrome doesn't get buffered time ranges right
This commit is contained in:
parent
15257623f3
commit
13b887abfb
5 changed files with 364 additions and 2 deletions
17
demos/video/js/video.js
Normal file
17
demos/video/js/video.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
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);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue