add demos/videotimelineplayer2

This commit is contained in:
rlx 2012-03-20 19:28:15 +00:00
parent ef3caccc64
commit f8dcca9fe4

View file

@ -31,7 +31,7 @@ Ox.load('UI', function() {
orientation: 'horizontal' orientation: 'horizontal'
}).appendTo(Ox.$body); }).appendTo(Ox.$body);
Ox.get('srt/0097514.srt', function(srt) { //Ox.get('srt/0097514.srt', function(srt) {
//var id = '0097514', //var id = '0097514',
var id = '0318034', var id = '0318034',
@ -49,8 +49,8 @@ Ox.load('UI', function() {
height: window.innerHeight - 65, height: window.innerHeight - 65,
paused: true, paused: true,
//position: 1000, //position: 1000,
position: 1000, position: 1800,
subtitles: Ox.parseSRT(srt), //subtitles: Ox.parseSRT(srt),
timelineURL: 'http://0xdb.org/' + id + '/timeline16p.png', timelineURL: 'http://0xdb.org/' + id + '/timeline16p.png',
//videoRatio: 1.291667, //videoRatio: 1.291667,
videoRatio: 1.833333, videoRatio: 1.833333,
@ -79,6 +79,6 @@ Ox.load('UI', function() {
$videoTimelinePlayer.gainFocus(); $videoTimelinePlayer.gainFocus();
}); //});
}); });