From 6f4a928bf3393f74f48f2b82843fd162acda4beb Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 29 Dec 2012 17:43:32 +0100 Subject: [PATCH] add 'OxMedia' class to video widgets --- source/Ox.UI/js/Video/LargeVideoTimeline.js | 2 +- source/Ox.UI/js/Video/VideoEditor.js | 2 +- source/Ox.UI/js/Video/VideoTimelinePlayer.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Video/LargeVideoTimeline.js b/source/Ox.UI/js/Video/LargeVideoTimeline.js index 4fc199f6..35e3bcbe 100644 --- a/source/Ox.UI/js/Video/LargeVideoTimeline.js +++ b/source/Ox.UI/js/Video/LargeVideoTimeline.js @@ -39,7 +39,7 @@ Ox.LargeVideoTimeline = function(options, self) { type: setType, width: setWidth }) - .addClass('OxLargeVideoTimeline') + .addClass('OxLargeVideoTimeline OxMedia') .mouseleave(mouseleave) .mousemove(mousemove) .bindEvent({ diff --git a/source/Ox.UI/js/Video/VideoEditor.js b/source/Ox.UI/js/Video/VideoEditor.js index 103cd9ab..13141c3e 100644 --- a/source/Ox.UI/js/Video/VideoEditor.js +++ b/source/Ox.UI/js/Video/VideoEditor.js @@ -277,7 +277,7 @@ Ox.VideoEditor = function(options, self) { self.words = getWords(); self.$editor = Ox.Element() - .addClass('OxVideoEditor') + .addClass('OxVideoEditor OxMedia') .mousedown(function(e) { var $target = $(e.target); !$target.is('.OxPosition') && !$target.is('input') && that.gainFocus(); diff --git a/source/Ox.UI/js/Video/VideoTimelinePlayer.js b/source/Ox.UI/js/Video/VideoTimelinePlayer.js index dfa12cca..0a07ff89 100644 --- a/source/Ox.UI/js/Video/VideoTimelinePlayer.js +++ b/source/Ox.UI/js/Video/VideoTimelinePlayer.js @@ -141,6 +141,7 @@ Ox.VideoTimelinePlayer = function(options, self) { .appendTo(self.$menubar); self.$timelinePlayer = Ox.Element() + .addClass('OxMedia') .css({overflowX: 'hidden', overflowY: 'auto'}) .on({ mousedown: mousedown,