From 45c5641665d5f04ec5734c02b40082a3225676d7 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 8 Feb 2014 16:18:40 +0000 Subject: [PATCH] video edit panel: add option for player controls tooltips --- source/Ox.UI/js/Video/VideoEditPanel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index 4365195c..45d956e6 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -16,6 +16,7 @@ Ox.VideoEditPanel = function(options, self) { clipTooltip: 'clips', clipView: 'list', clickLink: null, + controlsTooltips: {}, duration: 0, editable: false, enableSubtitles: false, @@ -199,11 +200,12 @@ Ox.VideoEditPanel = function(options, self) { self.$video = Ox.VideoPlayer({ chapters: self.chapters, - controlsTop: ['fullscreen', 'chapterTitle', 'open'], controlsBottom: [ 'play', 'playInToOut', 'volume', 'scale', 'timeline', 'previous', 'next', 'loop', 'position', 'settings' ], + controlsTooltips: self.options.controlsTooltips, + controlsTop: ['fullscreen', 'chapterTitle', 'open'], cuts: self.cuts, enableKeyboard: true, enableMouse: true,