some improvements to Ox.VideoPlayer

This commit is contained in:
rolux 2011-05-12 22:02:22 +02:00
commit a19c271e8f
6 changed files with 213 additions and 49 deletions

View file

@ -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);
*/
});