about summary refs log tree commit diff
path: root/patches/expo-video+1.1.10.patch
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-08-09 03:05:43 -0700
committerGitHub <noreply@github.com>2024-08-09 11:05:43 +0100
commit0f993a09c2ac7147f9a555cb243c1aff8fc2e48c (patch)
treed84d459fc2fcd4337166d9dfdd2beaafe348c432 /patches/expo-video+1.1.10.patch
parentcb574b7be3757c25063957ff561bae6f1be7577f (diff)
downloadvoidsky-0f993a09c2ac7147f9a555cb243c1aff8fc2e48c.tar.zst
[Video] Add `onEnterFullscreen` and `onExitFullscreen` to `VideoView` (#4907)
* patch expo video to add enter/exit fullscreen events

* rm logs

* Update expo-video+1.2.4.patch.md
Diffstat (limited to 'patches/expo-video+1.1.10.patch')
-rw-r--r--patches/expo-video+1.1.10.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/patches/expo-video+1.1.10.patch b/patches/expo-video+1.1.10.patch
deleted file mode 100644
index b183be9d4..000000000
--- a/patches/expo-video+1.1.10.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/node_modules/expo-video/android/src/main/java/expo/modules/video/PlayerViewExtension.kt
-+++ b/node_modules/expo-video/android/src/main/java/expo/modules/video/PlayerViewExtension.kt
-@@ -11,6 +11,7 @@ internal fun PlayerView.applyRequiresLinearPlayback(requireLinearPlayback: Boole
-   setShowPreviousButton(!requireLinearPlayback)
-   setShowNextButton(!requireLinearPlayback)
-   setTimeBarInteractive(requireLinearPlayback)
-+  setShowSubtitleButton(true)
- }
-
- @androidx.annotation.OptIn(androidx.media3.common.util.UnstableApi::class)
-@@ -27,7 +28,8 @@ internal fun PlayerView.setTimeBarInteractive(interactive: Boolean) {
-
- @androidx.annotation.OptIn(androidx.media3.common.util.UnstableApi::class)
- internal fun PlayerView.setFullscreenButtonVisibility(visible: Boolean) {
--  val fullscreenButton = findViewById<android.widget.ImageButton>(androidx.media3.ui.R.id.exo_fullscreen)
-+  val fullscreenButton =
-+    findViewById<android.widget.ImageButton>(androidx.media3.ui.R.id.exo_fullscreen)
-   fullscreenButton?.visibility = if (visible) {
-     android.view.View.VISIBLE
-   } else {