Listen for durationchange
This commit is contained in:
parent
3075e1eda2
commit
1b54ff0ad3
4
dist/plyr.js
vendored
4
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -2347,7 +2347,7 @@
|
||||
_on(plyr.media, 'timeupdate', _seekManualCaptions);
|
||||
|
||||
// Display duration
|
||||
_on(plyr.media, 'loadedmetadata', _displayDuration);
|
||||
_on(plyr.media, 'durationchange loadedmetadata', _displayDuration);
|
||||
|
||||
// Handle the media finishing
|
||||
_on(plyr.media, 'ended', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user