Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: autoplay=true on iOS results in blacked-out screen in full-screen mode on physical iPhone #16

Open
nel-sam opened this issue Mar 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@nel-sam
Copy link

nel-sam commented Mar 8, 2023

Version

1.0.1

Environment that reproduces the issue

Device: iPhone 12 Pro Max
OS: iOS 16.3.1

NOTE: The bug is does not reproduce on Simulator. You must use a physical iPhone device to reproduce it. Our Android implementation works fine, so I know it is setup correctly.

Is it reproducible in the example application?

It reproduces on a freshly created project with nothing added other than the ApiVideoPlayer component

Reproduction steps

Setup ApiVideoPlayer within React Native View as shown below


<ApiVideoPlayer
  ref={r => (ref = r)}
  videoId={ad.videoId}
  autoplay={true} // This causes the bug
/>

When that page loads, the video thumbnail/preview is visible.
A fullscreen video player loads but is all black (no video is actually playing in fullscreen viewer).
Audio is audible in the background.
When you close the fullscreen video viewer the audio stops playing and the video thumbnail is still visible.
This started happening recently, possible as of iOS 15, but definitely as of iOS 16. When I originally implemented the page the player worked as expected.

You must use a physical iPhone device to reproduce it.

Expected result

Video should either not full screen at all and remain in specific View/container, or if it must fullscreen it should at least properly display the video.

Actual result

A fullscreen video player appears but no video is displayed.

Additional context

No response

Relevant logs output

originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions
@nel-sam nel-sam added the bug Something isn't working label Mar 8, 2023
@nel-sam nel-sam changed the title [Bug]: On iOS video player is just black and always in full screen [Bug]: autoplay=true on iOS results in blacked-out screen in full-screen mode Mar 13, 2023
@nel-sam nel-sam changed the title [Bug]: autoplay=true on iOS results in blacked-out screen in full-screen mode [Bug]: autoplay=true on iOS results in blacked-out screen in full-screen mode on physical iPhone Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant