1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-21 14:47:41 +01:00

Update videoStateProvider.ts

This commit is contained in:
zisra 2023-04-02 10:01:52 -05:00 committed by GitHub
parent 119bafa516
commit 6d95f83c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,6 +231,7 @@ export function createVideoStateProvider(
setPlaybackSpeed(num) { setPlaybackSpeed(num) {
player.playbackRate = num; player.playbackRate = num;
state.mediaPlaying.playbackSpeed = num; state.mediaPlaying.playbackSpeed = num;
updateMediaPlaying(descriptor, state);
}, },
providerStart() { providerStart() {
this.setVolume(getStoredVolume()); this.setVolume(getStoredVolume());