forked from 0x2620/oxjs
some improvements to Ox.VideoPlayer
This commit is contained in:
parent
57618c850f
commit
a19c271e8f
6 changed files with 213 additions and 49 deletions
|
|
@ -9,9 +9,23 @@ Ox.load('UI', {
|
|||
padding: '16px'
|
||||
});
|
||||
Ox.VideoPlayer({
|
||||
height: 288,
|
||||
height: 96 * 256/180,
|
||||
timeline: timeline,
|
||||
title: 'Brick',
|
||||
url: url,
|
||||
width: 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: 540
|
||||
width: 256
|
||||
}).css({
|
||||
left: '300px'
|
||||
}).appendTo(Ox.UI.$body);
|
||||
*/
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue