reset playback rate on exit fullscreen (#5116)

zio/stable
Samuel Newman 2024-09-03 19:46:37 +01:00 committed by GitHub
parent 7f26ad508e
commit 5c2e9f09bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ export function VideoEmbedInnerNative({
PlatformInfo.setAudioCategory(AudioCategory.Ambient) PlatformInfo.setAudioCategory(AudioCategory.Ambient)
PlatformInfo.setAudioActive(false) PlatformInfo.setAudioActive(false)
player.muted = true player.muted = true
player.playbackRate = 1
if (!player.playing) { if (!player.playing) {
player.play() player.play()
} }