From 5c2e9f09bfebdbe519bc7df7b7269a48291b0bdd Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 3 Sep 2024 19:46:37 +0100 Subject: [PATCH] reset playback rate on exit fullscreen (#5116) --- .../util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx index 189701ab09..b9c0a99a9e 100644 --- a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx +++ b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx @@ -59,6 +59,7 @@ export function VideoEmbedInnerNative({ PlatformInfo.setAudioCategory(AudioCategory.Ambient) PlatformInfo.setAudioActive(false) player.muted = true + player.playbackRate = 1 if (!player.playing) { player.play() }