video edit panel: add option for player controls tooltips

This commit is contained in:
rolux 2014-02-08 16:18:40 +00:00
parent 543ce2ad0b
commit 45c5641665

View file

@ -16,6 +16,7 @@ Ox.VideoEditPanel = function(options, self) {
clipTooltip: 'clips', clipTooltip: 'clips',
clipView: 'list', clipView: 'list',
clickLink: null, clickLink: null,
controlsTooltips: {},
duration: 0, duration: 0,
editable: false, editable: false,
enableSubtitles: false, enableSubtitles: false,
@ -199,11 +200,12 @@ Ox.VideoEditPanel = function(options, self) {
self.$video = Ox.VideoPlayer({ self.$video = Ox.VideoPlayer({
chapters: self.chapters, chapters: self.chapters,
controlsTop: ['fullscreen', 'chapterTitle', 'open'],
controlsBottom: [ controlsBottom: [
'play', 'playInToOut', 'volume', 'scale', 'timeline', 'play', 'playInToOut', 'volume', 'scale', 'timeline',
'previous', 'next', 'loop', 'position', 'settings' 'previous', 'next', 'loop', 'position', 'settings'
], ],
controlsTooltips: self.options.controlsTooltips,
controlsTop: ['fullscreen', 'chapterTitle', 'open'],
cuts: self.cuts, cuts: self.cuts,
enableKeyboard: true, enableKeyboard: true,
enableMouse: true, enableMouse: true,