You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing a bug where calling myRef.current.requestFullscreen() works on ios, but not on android. Here are the steps to reproduce.
Open the provided Snack link
Choose ios in the right sidebar view, then click 'Tap to Play'
When the app launches, press the 'Fullscreen' button in the app
Expected behavior: The video goes fullscreen
Actual behavior: It does.
Get an Android device and install the Expo Go app (Note, api.video player doesn't work in the web version of Expo Snack on Android. Must be run on a real device)
Select 'My Device' in the right sidebar of the Expo Snack. This should display a qr code.
Launch the camera inside of Expo Go and scan the qr code in the provided Snack
When the app launches, press the 'Fullscreen' button
Expected behavior: The video goes fullscreen Actual Behavior: Nothing happens
Expected result
The video goes fullscreen
Actual result
Nothing happens
Additional context
No response
Relevant logs output
No response
The text was updated successfully, but these errors were encountered:
First of all, we're sorry it's taken so long to respond to this issue.
Unfortunately, this problem cannot be corrected at present. Using a webview on Android requires the user to have interacted with its content before executing a requestFullscreen. This is a browser security issue that cannot be overridden.
In the coming weeks, we plan to release a major version of the RN player based not on a webview but on our 2 native players for Android and IOS. This migration will fix the issues with such restrictions.
Version
1.0.2
Environment that reproduces the issue
I made an expo snack to illustrate the problem:
https://snack.expo.dev/@matt-a/apivideo-programmatic-fullscreen-android-bug
Is it reproducible in the example application?
Yes
Reproduction steps
I am experiencing a bug where calling myRef.current.requestFullscreen() works on ios, but not on android. Here are the steps to reproduce.
Open the provided Snack link
Choose ios in the right sidebar view, then click 'Tap to Play'
When the app launches, press the 'Fullscreen' button in the app
Expected behavior: The video goes fullscreen
Actual behavior: It does.
Get an Android device and install the Expo Go app (Note, api.video player doesn't work in the web version of Expo Snack on Android. Must be run on a real device)
Select 'My Device' in the right sidebar of the Expo Snack. This should display a qr code.
Launch the camera inside of Expo Go and scan the qr code in the provided Snack
When the app launches, press the 'Fullscreen' button
Expected behavior: The video goes fullscreen
Actual Behavior: Nothing happens
Expected result
The video goes fullscreen
Actual result
Nothing happens
Additional context
No response
Relevant logs output
No response
The text was updated successfully, but these errors were encountered: