HTML5 poster fixes for multiple downloads

This commit is contained in:
Sam Potts
2020-01-21 22:28:48 +00:00
parent 89136bc2e6
commit 71d6f59d56
3 changed files with 12 additions and 4 deletions
+4
View File
@@ -89,6 +89,10 @@ const html5 = {
if (preload !== 'none' || readyState) {
// Restore time
player.once('loadedmetadata', () => {
if (player.currentTime === 0) {
return;
}
player.currentTime = currentTime;
// Resume playing