2024-08-09 12:05:43 +02:00
|
|
|
## uwu woad beawing, do not wemove
|
|
|
|
|
|
|
|
## `expo-video` Patch
|
|
|
|
|
2024-09-03 17:41:14 +02:00
|
|
|
### `onEnterFullScreen`/`onExitFullScreen`
|
|
|
|
Adds two props to `VideoView`: `onEnterFullscreen` and `onExitFullscreen` which do exactly what they say on
|
2024-08-09 12:05:43 +02:00
|
|
|
the tin.
|
2024-09-03 17:33:21 +02:00
|
|
|
|
2024-09-03 17:41:14 +02:00
|
|
|
### Removing audio session management
|
|
|
|
|
2024-09-03 17:33:21 +02:00
|
|
|
This patch also removes the audio session management that Expo does on its own, as we handle audio session management
|
|
|
|
ourselves.
|
2024-09-03 17:41:14 +02:00
|
|
|
|
|
|
|
### 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.
|