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,
width: setWidth
})
.addClass('OxLargeVideoTimeline')
.addClass('OxLargeVideoTimeline OxMedia')
.mouseleave(mouseleave)
.mousemove(mousemove)
.bindEvent({

View file

@ -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();

View file

@ -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,