make video position stick when switching between player and timeline view (part 3)

This commit is contained in:
rlx 2011-01-18 16:56:40 +00:00
parent b08cd9e4b4
commit 6b08f0dae4

View file

@ -11791,7 +11791,10 @@ requires
width: self.options.width + 'px' width: self.options.width + 'px'
}) })
.bind({ .bind({
ended: ended ended: ended,
loadedmetadata: function() {
self.video.currentTime = self.options.position;
}
}); });
$.extend(self, { $.extend(self, {