diff options
author | Hailey <me@haileyok.com> | 2024-09-05 08:27:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 08:27:28 -0700 |
commit | 93c171b403a993a5b942a6333b4de54b99b9265a (patch) | |
tree | 904a45cb1a02ed101b1a73d4e1c53f94463c20ee /src | |
parent | 6d8ed5c3c8d0d5176532d3fbc06f0b0257c6e743 (diff) | |
download | voidsky-93c171b403a993a5b942a6333b4de54b99b9265a.tar.zst |
[Video] Use `expo-video` from fork (#5159)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx index 3fa159267..b747223ba 100644 --- a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx +++ b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx @@ -56,13 +56,13 @@ export function VideoEmbedInnerNative({ contentFit="cover" nativeControls={isFullscreen} accessibilityIgnoresInvertColors - onEnterFullscreen={() => { + onFullscreenEnter={() => { PlatformInfo.setAudioCategory(AudioCategory.Playback) PlatformInfo.setAudioActive(true) player.muted = false setIsFullscreen(true) }} - onExitFullscreen={() => { + onFullscreenExit={() => { PlatformInfo.setAudioCategory(AudioCategory.Ambient) PlatformInfo.setAudioActive(false) player.muted = true |