diff --git a/source/Ox.UI/js/Video/LargeVideoTimeline.js b/source/Ox.UI/js/Video/LargeVideoTimeline.js index 140572da..c5664cec 100644 --- a/source/Ox.UI/js/Video/LargeVideoTimeline.js +++ b/source/Ox.UI/js/Video/LargeVideoTimeline.js @@ -14,6 +14,7 @@ Ox.LargeVideoTimeline = function(options, self) { var that = Ox.Element({}, self) .defaults({ cuts: [], + disabled: false, duration: 0, find: '', getImageURL: null, @@ -42,12 +43,15 @@ Ox.LargeVideoTimeline = function(options, self) { }) .addClass('OxLargeVideoTimeline OxMedia') .mouseleave(mouseleave) - .mousemove(mousemove) - .bindEvent({ - anyclick: click, - dragstart: dragstart, - drag: drag - }); + .mousemove(mousemove); + + if (!self.options.disabled) { + that.bindEvent({ + anyclick: click, + dragstart: dragstart, + drag: drag + }); + } self.$cuts = []; self.$pointMarker = {};