forked from 0x2620/oxjs
update video elements
This commit is contained in:
parent
609754fbad
commit
0a79291c58
4 changed files with 47 additions and 24 deletions
|
|
@ -6,6 +6,7 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
var that = Ox.Element({}, self)
|
||||
.defaults({
|
||||
_offset: 0, // hack for cases where all these position: absolute elements have to go into a float: left
|
||||
disabled: false,
|
||||
duration: 0,
|
||||
editing: false,
|
||||
find: '',
|
||||
|
|
@ -148,7 +149,7 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
}
|
||||
|
||||
function mousedown(e) {
|
||||
if ($(e.target).is('.OxInterface')) {
|
||||
if (!self.options.disabled && $(e.target).is('.OxInterface')) {
|
||||
self.options.position = getPosition(e);
|
||||
setPositionMarker();
|
||||
if (!self.triggered) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue