about summary refs log tree commit diff
path: root/patches/expo-video+1.2.4.patch.md
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-09-03 08:41:14 -0700
committerGitHub <noreply@github.com>2024-09-03 08:41:14 -0700
commitdde72b48e12de0b87da60000b7705e475c795429 (patch)
treee37223209bc573a422b350bcb44cd8daea3dd6b1 /patches/expo-video+1.2.4.patch.md
parent05e61346b8c20b242edf748d2d84a66aefa390f6 (diff)
downloadvoidsky-dde72b48e12de0b87da60000b7705e475c795429.tar.zst
[Video] Manage foreground/background playback on the native side (#5104)
Diffstat (limited to 'patches/expo-video+1.2.4.patch.md')
-rw-r--r--patches/expo-video+1.2.4.patch.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/patches/expo-video+1.2.4.patch.md b/patches/expo-video+1.2.4.patch.md
index 6dd85308b..99c14c286 100644
--- a/patches/expo-video+1.2.4.patch.md
+++ b/patches/expo-video+1.2.4.patch.md
@@ -2,8 +2,17 @@
 
 ## `expo-video` Patch
 
-This patch adds two props to `VideoView`: `onEnterFullscreen` and `onExitFullscreen` which do exactly what they say on
+### `onEnterFullScreen`/`onExitFullScreen`
+Adds two props to `VideoView`: `onEnterFullscreen` and `onExitFullscreen` which do exactly what they say on
 the tin.
 
+### Removing audio session management
+
 This patch also removes the audio session management that Expo does on its own, as we handle audio session management
 ourselves.
+
+### Pausing/playing on background/foreground
+
+Instead of handling the pausing/playing of videos in React, we'll handle them here. There's some logic that we do not
+need (around PIP mode) that we can remove, and just pause any playing players on background and then resume them on
+foreground.