-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[iOS] Block Vidéo with autoplay not working #41573
Comments
Hey @gturpin-dev 👋 ! Thanks for reporting the issue 🙇 . I checked it further and I'm not sure if the behavior you describe is an actual bug. As far as I checked, the video autoplay feature is usually controlled by the browser and is only allowed under certain scenarios. For example, in Chromium browsers, a video is only auto-played if it has the attribute I think we can't really expand the logic of the Video block to ensure that the autoplay functionality will be applied since ultimately, this depends on the browser. |
Thanks for explanations. So would it be wrong to add I understand what you said about browser but do you think Safari will support it soon ? Tell me if i'm wrong :) |
That would be one option but not sure if it should be automatically enabled. The content could be viewed with any browser, not just Safari, so this workaround might be not necessary in all cases. Besides, it might be a bit confusing for the user that changing one of the attributes of the Video block enables other ones at the same time 🤔 . I'm wondering if we could inform the user and let them decide whether to enable other attributes when setting the
My gut feeling about the |
It was an interesting discussion, thanks for your time. If there is nothing to do, you can close this isssue. |
Hi
Description
A bug happens only on iOS device on the "video" block with autoplay enabled. The video never start.
I fix the bug by adding
playsinline
attribute to the video blockStep-by-step reproduction instructions
Expected behaviour
The video must start when she appears on the screen
Actual behaviour
The video doesn't start.
WordPress information
Device information
The text was updated successfully, but these errors were encountered: