-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cover Block: Video background autoplays on desktop but not on mobile (on Simple sites) #92856
Comments
I had a user report it in 8507343-zen |
📌 REPRODUCTION RESULTS
📌 FINDINGS/SCREENSHOTS/VIDEO
📌 ACTIONS
|
Another user reported in #8524357-zen for their Simple site. |
8523495-zen |
8482133-zen |
8570000-zen |
8579784-zen. The user stated it was a problem in the past, it got fixed and now it's back again. |
@Automattic/dotcom-product-ambassadors, can this be looked into by the team and prioritize it for a quick fix? |
Thank you @Robertght for the ping. Perhaps @Automattic/lego could take a look to help narrow down the issue? |
I can have a look at this later. Meanwhile, here are some thoughts:
A reference is at https://developer.chrome.com/blog/autoplay |
Another report: 8708509-zd-a8c The video works on Android but not iOS. |
More info for 8708509-zd-a8c |
User came back again to ask for an update. |
Looking at the number of user reports we are seeing, this bug is impacting quite a few users. @dsas, is this something you could investigate? Thank you! |
Happening here as well: 8807056-zd-a8c Simple site using Sunderland theme |
Same case here: 8833868-zen |
I've tried many of the sites reported in the linked tickets, and they all work fine in android using chrome. I've tried fewer in Safari, but so far as I can tell videos are autoplaying on atomic sites but not on simple sites. 8708509-zd-a8c mentioned a simple site and an atomic site, so it's a good way to check. |
Updated the description to say that the site must be public, and that the issue for private sites is probably wordpress-mobile/gutenberg-mobile#6678 |
This report appears to be a duplicate of Automattic/jetpack#39148 |
According to the Safari docs and as @renatho hints on Automattic/jetpack#39148 a video will only autoplay if the video element has The video element we're outputting on simple sites has neither In practice, if I modify the video element to only add In contrast, the HTML we're outputting on atomic sites is completely different. It is the video element that has the It looks to me that for a simple site we're outputting some videopress HTML and for atomic sites we're outputting some good old fashioned straight HTML. There's some simple site specific code doing this here: fbhepr%2Skers%2Sjcpbz%2Sjc%2Qpbagrag%2Szh%2Qcyhtvaf%2Sivqrbcerff%2Surycref.cuc%3Se%3Q13433srr%231501-og Simple: 35e34-pb |
Opened D163396-code to resolve |
Fix deployed! |
Quick summary
When using a video as the media on the Cover Block of a Simple site, the video autoplays when the page or post is opened on a desktop browser. However, the same video remains paused when the page or post is opened on a mobile browser.
On an Atomic site, the same block shows the video autoplaying on both desktop and mobile browsers.
Steps to reproduce
What you expected to happen
The video should autoplay on both desktop and mobile browsers or remain paused on both.
What actually happened
The video will autoplay on desktop browsers but will remain paused on mobile browsers.
Impact
Most (> 50%)
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Simple. Atomic appears to be working fine.
Logs or notes
If the site is not public then wordpress-mobile/gutenberg-mobile#6678 is more likely to be relevant.
The text was updated successfully, but these errors were encountered: