adding missing files (video demo)
This commit is contained in:
parent
cc748127bb
commit
0642c10951
3 changed files with 155 additions and 162 deletions
|
|
@ -3,7 +3,7 @@ Ox.load('UI', {
|
|||
theme: 'modern'
|
||||
}, function() {
|
||||
var id = '0393109',
|
||||
poster = 'http://next.0xdb.org/' + id + '/poster.jpg',
|
||||
poster = 'png/poster.png',
|
||||
timeline = 'http://next.0xdb.org/' + id + '/timeline.16.png',
|
||||
url = 'http://next.0xdb.org/' + id + '/96p.webm',
|
||||
videoSize = getVideoSize(),
|
||||
|
|
@ -32,7 +32,7 @@ Ox.load('UI', {
|
|||
}),
|
||||
Ox.VideoPlayer({
|
||||
enableKeyboard: true,
|
||||
height: 192,
|
||||
height: videoSize.height,
|
||||
'in': 3128.725,
|
||||
//keepIconVisible: true,
|
||||
out: 3130.725,
|
||||
|
|
@ -42,7 +42,7 @@ Ox.load('UI', {
|
|||
showIcon: true,
|
||||
timeline: timeline,
|
||||
video: url + '?' + + Ox.random(1000000),
|
||||
width: 360
|
||||
width: videoSize.width
|
||||
})
|
||||
.css({
|
||||
left: '16px',
|
||||
|
|
@ -51,7 +51,7 @@ Ox.load('UI', {
|
|||
Ox.VideoPlayer({
|
||||
controls: ['play', 'playInToOut', 'mute', 'size', 'space', 'position'],
|
||||
externalControls: true,
|
||||
height: videoSize.height,
|
||||
height: 192,
|
||||
'in': 3128.725,
|
||||
out: 3130.725,
|
||||
paused: true,
|
||||
|
|
@ -59,7 +59,7 @@ Ox.load('UI', {
|
|||
subtitles: 'srt/' + id + '.srt',
|
||||
timeline: timeline,
|
||||
video: url + '?' + + Ox.random(1000000),
|
||||
width: videoSize.width
|
||||
width: 360
|
||||
})
|
||||
.css({
|
||||
left: '16px',
|
||||
|
|
|
|||
BIN
demos/video/png/poster.png
Normal file
BIN
demos/video/png/poster.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Loading…
Add table
Add a link
Reference in a new issue