allow for updating small video timeline url
This commit is contained in:
parent
6c79e5711e
commit
861dabfb43
2 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,9 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
duration: function() {
|
||||
self.$image.options({duration: self.options.duration});
|
||||
},
|
||||
imageURL: function() {
|
||||
self.$image.options({imageURL: self.options.imageURL});
|
||||
},
|
||||
'in': function() {
|
||||
self.$image.options({'in': self.options['in']});
|
||||
self.options.mode == 'editor' && setPointMarker('in');
|
||||
|
|
|
@ -26,6 +26,9 @@ Ox.SmallVideoTimelineImage = function(options, self) {
|
|||
})
|
||||
.options(options || {})
|
||||
.update({
|
||||
imageURL: function() {
|
||||
self.$timeline.attr({src: self.options.imageURL});
|
||||
},
|
||||
'in': function() {
|
||||
self.$selection.attr({
|
||||
src: getImageURL('selection')
|
||||
|
|
Loading…
Reference in a new issue