update edit player controls

This commit is contained in:
rolux 2013-07-12 14:44:33 +00:00
parent 41f654569c
commit 030873ec1f

View file

@ -217,17 +217,21 @@ pandora.ui.editList = function(edit) {
return that;
};
pandora.ui.editPlayer = function(edit) {
var that = Ox.Element()
.css({
'overflow-y': 'auto'
overflowY: 'auto'
});
self.$player = Ox.VideoPlayer({
controlsBottom: ['play', 'previous', 'next', 'volume', 'position'],
controlsTop: ['fullscreen', 'scale'],
controlsBottom: ['play', 'volume', 'previous', 'next', 'loop', 'scale', 'space', 'position'],
controlsTop: ['fullscreen', 'space', 'open'],
enableKeyboard: true,
enableMouse: true,
enablePosition: true,
enableTimeline: true,
height: getHeight(),
paused: true,
position: 0,
@ -247,5 +251,6 @@ pandora.ui.editPlayer = function(edit) {
return window.innerWidth
- pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize - 1;
}
return that;
};