Fix setting of initial playback rate

This commit is contained in:
Kamil Monicz 2022-10-16 14:49:56 +02:00
parent 86da534c7b
commit 6d1d5d9776
No known key found for this signature in database
GPG Key ID: F3A5FD85563C1205

View File

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