Fix #966: Add 'seeked' event listener to update progress (seeking doesn't have the correct time)

This commit is contained in:
Albin Larsson
2018-05-12 11:24:50 +02:00
parent 723298a07b
commit aa8fc313a9
2 changed files with 3 additions and 2 deletions

1
src/js/controls.js vendored
View File

@ -481,6 +481,7 @@ const controls = {
// Video playing
case 'timeupdate':
case 'seeking':
case 'seeked':
value = utils.getPercentage(this.currentTime, this.duration);
// Set seek range value only if it's a 'natural' time event