fix regression: not restoring playback state after quality change

This commit is contained in:
ydylla 2020-01-29 23:03:43 +01:00
parent 8b9521d5a5
commit 472bb479d4

View File

@ -89,9 +89,6 @@ const html5 = {
if (preload !== 'none' || readyState) {
// Restore time
player.once('loadedmetadata', () => {
if (player.currentTime === 0) {
return;
}
player.currentTime = currentTime;