Merge pull request #1573 from Zaczero/master

Fix setting of initial playback rate
This commit is contained in:
Kavin 2022-10-17 01:24:33 +01:00 committed by GitHub
commit ca98415c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,9 +519,8 @@ export default {
});
videoEl.volume = this.getPreferenceNumber("volume", 1);
const rate = this.getPreferenceNumber("rate", 1);
player.trickPlay(rate);
player.playbackRate = rate;
player.defaultPlaybackRate = rate;
videoEl.playbackRate = rate;
videoEl.defaultPlaybackRate = rate;
});
},
async updateProgressDatabase(time) {