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,
|
type: setType,
|
||||||
width: setWidth
|
width: setWidth
|
||||||
})
|
})
|
||||||
.addClass('OxLargeVideoTimeline')
|
.addClass('OxLargeVideoTimeline OxMedia')
|
||||||
.mouseleave(mouseleave)
|
.mouseleave(mouseleave)
|
||||||
.mousemove(mousemove)
|
.mousemove(mousemove)
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue