1
0
Fork 0
forked from 0x2620/oxjs

add close buttons to controls, better behaviour of mute vs volume 0, make range properly resizable, hide title overflow

This commit is contained in:
rolux 2011-05-17 09:05:21 +02:00
commit 4ca5734a9d
4 changed files with 68 additions and 31 deletions

View file

@ -78,7 +78,11 @@ Ox.load('UI', {
top: '16px'
}),
Ox.VideoPlayer({
controlsBottom: ['play', 'playInToOut', 'mute', 'size', 'space', 'position'],
controlsTop: ['fullscreen', 'title', 'find'],
controlsBottom: ['play', 'playInToOut', 'volume', 'size', 'space', 'position'],
enableFind: true,
enableFullscreen: true,
enableVolume: true,
externalControls: true,
height: 192,
'in': 3128.725,
@ -87,6 +91,7 @@ Ox.load('UI', {
showMilliseconds: 2,
subtitles: 'srt/' + id + '.srt',
timeline: timeline,
title: 'Brick - Rian Johnson - 2005',
video: url + '?' + + Ox.random(1000000),
width: 360
})