allow for updating small video timeline url

This commit is contained in:
rlx 2013-07-13 21:03:05 +00:00
parent 6c79e5711e
commit 861dabfb43
2 changed files with 6 additions and 0 deletions

View file

@ -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');

View file

@ -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')