forked from 0x2620/oxjs
fix adding,removing,sorting video items and related updates
This commit is contained in:
parent
1d3c17d4b2
commit
fd7352edac
3 changed files with 9 additions and 2 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue