1
0
Fork 0
forked from 0x2620/oxjs

fix adding,removing,sorting video items and related updates

This commit is contained in:
j 2013-07-14 10:41:30 +00:00
commit fd7352edac
3 changed files with 9 additions and 2 deletions

View file

@ -140,7 +140,11 @@ Ox.VideoEditPanel = function(options, self) {
})
.bindEvent({
durationchange: function(data) {
that.options({duration: data.duration});
self.options.duration = data.duration;
self.$timeline && self.$timeline.replaceWith(
self.$timeline = getTimeline()
);
setPosition(self.$video.options('position'), true);
},
fullscreen: function(data) {
self.options.fullscreen = data.fullscreen;