forked from 0x2620/pandora
update edit player controls
This commit is contained in:
parent
41f654569c
commit
030873ec1f
1 changed files with 9 additions and 4 deletions
|
@ -217,17 +217,21 @@ pandora.ui.editList = function(edit) {
|
||||||
return that;
|
return that;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
pandora.ui.editPlayer = function(edit) {
|
pandora.ui.editPlayer = function(edit) {
|
||||||
|
|
||||||
var that = Ox.Element()
|
var that = Ox.Element()
|
||||||
.css({
|
.css({
|
||||||
'overflow-y': 'auto'
|
overflowY: 'auto'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
self.$player = Ox.VideoPlayer({
|
self.$player = Ox.VideoPlayer({
|
||||||
controlsBottom: ['play', 'previous', 'next', 'volume', 'position'],
|
controlsBottom: ['play', 'volume', 'previous', 'next', 'loop', 'scale', 'space', 'position'],
|
||||||
controlsTop: ['fullscreen', 'scale'],
|
controlsTop: ['fullscreen', 'space', 'open'],
|
||||||
|
enableKeyboard: true,
|
||||||
enableMouse: true,
|
enableMouse: true,
|
||||||
|
enablePosition: true,
|
||||||
|
enableTimeline: true,
|
||||||
height: getHeight(),
|
height: getHeight(),
|
||||||
paused: true,
|
paused: true,
|
||||||
position: 0,
|
position: 0,
|
||||||
|
@ -247,5 +251,6 @@ pandora.ui.editPlayer = function(edit) {
|
||||||
return window.innerWidth
|
return window.innerWidth
|
||||||
- pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize - 1;
|
- pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue