add 'OxMedia' class to video widgets
This commit is contained in:
parent
2bc41d180e
commit
6f4a928bf3
3 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,7 @@ Ox.LargeVideoTimeline = function(options, self) {
|
|||
type: setType,
|
||||
width: setWidth
|
||||
})
|
||||
.addClass('OxLargeVideoTimeline')
|
||||
.addClass('OxLargeVideoTimeline OxMedia')
|
||||
.mouseleave(mouseleave)
|
||||
.mousemove(mousemove)
|
||||
.bindEvent({
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue