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 /patches/expo-video+1.2.4.patch.md | |
parent | 6d8ed5c3c8d0d5176532d3fbc06f0b0257c6e743 (diff) | |
download | voidsky-93c171b403a993a5b942a6333b4de54b99b9265a.tar.zst |
[Video] Use `expo-video` from fork (#5159)
Diffstat (limited to 'patches/expo-video+1.2.4.patch.md')
-rw-r--r-- | patches/expo-video+1.2.4.patch.md | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/patches/expo-video+1.2.4.patch.md b/patches/expo-video+1.2.4.patch.md deleted file mode 100644 index 7cd4d363a..000000000 --- a/patches/expo-video+1.2.4.patch.md +++ /dev/null @@ -1,31 +0,0 @@ -## uwu woad beawing, do not wemove - -## `expo-video` Patch - -### `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. - -### Additional `statusChange` Events - -`expo-video` uses the `loading` status for a variety of cases where the video is not actually "loading". We're making -those status events more specific here, so that we can determine if a video is truly loading or not. These statuses are: - -- `waitingToPlayAtSpecifiedRate` -- `unlikelyToKeepUp` -- `playbackBufferEmpty` - -It's unlikely we will ever need to pay attention to these statuses, so they are not being include in the TypeScript -types. |