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

@ -57,6 +57,7 @@ Ox.VideoElement = function(options, self) {
}
}
onLoadedMetadata(self.$video, function() {
that.triggerEvent('seeked');
that.triggerEvent('durationchange', {
duration: that.duration()
});
@ -300,6 +301,8 @@ Ox.VideoElement = function(options, self) {
onLoadedMetadata(self.$video, function() {
self.video.currentTime = currentTime;
});
} else {
that.triggerEvent('seeked');
}
}