fix current time while seeking

This commit is contained in:
j 2025-03-01 10:20:33 +01:00
parent 0494fd40cf
commit bee3a142c3

View file

@ -169,7 +169,7 @@ window.VideoElement = function(options) {
function getCurrentTime() {
var item = self.items[self.currentItem];
var currentTime = self.seeking || self.loading
? self.currentTime
? (self.currentTime - (self.options["in"] || 0))
: item ? item.position + self.video.currentTime - item['in'] - self.options["in"] : 0;
return currentTime
}