add new timeline and find input to video player

This commit is contained in:
rolux 2011-05-16 13:29:26 +02:00
commit ce33d3650a
6 changed files with 326 additions and 162 deletions

View file

@ -27,14 +27,15 @@ Ox.load('UI', {
{'in': 5780.235, out: 5782.435},
{'in': 5881.365, out: 5886.635}
],
timeline = 'http://next.0xdb.org/' + id + '/timeline.16.png',
timeline = 'png/timeline.16.png',
url = 'http://next.0xdb.org/' + id + '/96p.webm',
videoSize = getVideoSize(),
$videos = [
Ox.VideoPlayer({
controls: ['play', 'mute', 'fullscreen', 'scale', 'timeline', 'position'],
enableFind: true,
enableFullscreen: true,
enableKeyboard: true,
find: 'brick',
focus: 'mouseenter',
height: 192,
'in': 3128.725,
@ -47,7 +48,9 @@ Ox.load('UI', {
showIconOnLoad: true,
showProgress: false,
subtitles: 'srt/' + id + '.srt',
timeline: timeline,
timeline: function(i) {
return 'png/timeline.16.' + i + '.png';
},
title: '<b>Brick</b> - Rian Johnson - 2005',
video: url + '?' + + Ox.random(1000000),
width: 360

BIN
demos/video/png/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB