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

Video Enters Fullscreen "Live Broadcast" Mode on iOS Despite playsinline Attribute in Standalone PWA #714

Open
bokzor opened this issue Mar 15, 2024 · 2 comments
Labels
safari-mobile safari iOS browser issues

Comments

@bokzor
Copy link

bokzor commented Mar 15, 2024

I've encountered a consistent issue on iOS devices when setting the playsinline attribute for video playback. Despite this setting, the video transitions into a "Live broadcast" mode, automatically entering fullscreen mode. This behavior mirrors a previously reported issue in (https://github.com/pichillilorenzo/flutter_inappwebview/issues/1452.)

The fullscreen "Live broadcast" mode allows for a swipe action to revert the video to inline play, but this workaround is less than ideal for user experience. More critically, when running in standalone Progressive Web App (PWA) mode, this behavior completely locks up the application, preventing any further interaction.

I'm currently exploring alternative solutions, such as repainting the video onto a canvas element, to circumvent this fullscreen takeover. However, I'm unsure if this approach will resolve the underlying issue or if there are more direct solutions available.

Has anyone else faced this problem or have suggestions on how to maintain inline video playback without triggering the fullscreen mode, especially in the standalone PWA context?

Any guidance or workarounds would be greatly appreciated.

RPReplay_Final1710463463.mov
@thijstriemstra
Copy link
Member

I'm always astounded that people don't include version nrs and platform information, especially when reporting iOS related issues.

@thijstriemstra thijstriemstra added needs-update safari-mobile safari iOS browser issues labels Mar 18, 2024
@bokzor
Copy link
Author

bokzor commented Mar 20, 2024

Yep sorry about that. I'm using the latest version available.

Ios 17.3.1
videojs-record": "^4.6.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safari-mobile safari iOS browser issues
Projects
None yet
Development

No branches or pull requests

2 participants