add 'OxMedia' class to video widgets

This commit is contained in:
rolux 2012-12-29 17:43:32 +01:00
parent 2bc41d180e
commit 6f4a928bf3
3 changed files with 3 additions and 2 deletions

View file

@ -39,7 +39,7 @@ Ox.LargeVideoTimeline = function(options, self) {
type: setType, type: setType,
width: setWidth width: setWidth
}) })
.addClass('OxLargeVideoTimeline') .addClass('OxLargeVideoTimeline OxMedia')
.mouseleave(mouseleave) .mouseleave(mouseleave)
.mousemove(mousemove) .mousemove(mousemove)
.bindEvent({ .bindEvent({

View file

@ -277,7 +277,7 @@ Ox.VideoEditor = function(options, self) {
self.words = getWords(); self.words = getWords();
self.$editor = Ox.Element() self.$editor = Ox.Element()
.addClass('OxVideoEditor') .addClass('OxVideoEditor OxMedia')
.mousedown(function(e) { .mousedown(function(e) {
var $target = $(e.target); var $target = $(e.target);
!$target.is('.OxPosition') && !$target.is('input') && that.gainFocus(); !$target.is('.OxPosition') && !$target.is('input') && that.gainFocus();

View file

@ -141,6 +141,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
.appendTo(self.$menubar); .appendTo(self.$menubar);
self.$timelinePlayer = Ox.Element() self.$timelinePlayer = Ox.Element()
.addClass('OxMedia')
.css({overflowX: 'hidden', overflowY: 'auto'}) .css({overflowX: 'hidden', overflowY: 'auto'})
.on({ .on({
mousedown: mousedown, mousedown: mousedown,