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() {
|
duration: function() {
|
||||||
self.$image.options({duration: self.options.duration});
|
self.$image.options({duration: self.options.duration});
|
||||||
},
|
},
|
||||||
|
imageURL: function() {
|
||||||
|
self.$image.options({imageURL: self.options.imageURL});
|
||||||
|
},
|
||||||
'in': function() {
|
'in': function() {
|
||||||
self.$image.options({'in': self.options['in']});
|
self.$image.options({'in': self.options['in']});
|
||||||
self.options.mode == 'editor' && setPointMarker('in');
|
self.options.mode == 'editor' && setPointMarker('in');
|
||||||
|
|
|
@ -26,6 +26,9 @@ Ox.SmallVideoTimelineImage = function(options, self) {
|
||||||
})
|
})
|
||||||
.options(options || {})
|
.options(options || {})
|
||||||
.update({
|
.update({
|
||||||
|
imageURL: function() {
|
||||||
|
self.$timeline.attr({src: self.options.imageURL});
|
||||||
|
},
|
||||||
'in': function() {
|
'in': function() {
|
||||||
self.$selection.attr({
|
self.$selection.attr({
|
||||||
src: getImageURL('selection')
|
src: getImageURL('selection')
|
||||||
|
|
Loading…
Reference in a new issue