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:
parent
cf3d611bac
commit
4ca5734a9d
4 changed files with 68 additions and 31 deletions
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue