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: Support for autoplaying gifs in Mobile Safari #41239

Open
guarani opened this issue Apr 18, 2020 · 4 comments
Open

Video: Support for autoplaying gifs in Mobile Safari #41239

guarani opened this issue Apr 18, 2020 · 4 comments
Labels
[Browser] Safari Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Media The media screen in Calypso, general media management, or integration with third party media. [Feature] VideoPress A feature to help you upload and insert videos on your site. [Type] Feature Request Feature requests

Comments

@guarani
Copy link
Contributor

guarani commented Apr 18, 2020

Steps to reproduce

  1. Starting at URL: https://wordpress.com/block-editor/post/mysite.wordpress.com/12
  2. Add a video block
  3. Upload a video or choose a video from the Media Library (it's important to not use a link to a video)

What I expected

I expect the "Plays inline" option to be available, just as it is for externally hosted videos

What happened instead

The "Plays inline" option is missing from the right panel (Block | Video Settings)

Browser / OS version

Firefox 75.0 / macOS 10.15.3 (although I think the result is the same on any platform)

Screenshot / Video

Here you can see that the "Plays inline" option is not present for WP.com-hosted videos:

WP.com-hosted video

For completeness, here's how the "Plays inline" attribute looks for externally hosted videos:

Externally-hosted video

Context / Source

#painpoint Users sometimes want to upload videos and autoplay them like a gif. The playsinline attribute is essential to make this happen on mobile Safari.

A video would need these attributes to autoplay in Mobile Safari:
<video autoplay loop muted playsinline></video

Found through a #user-report.

Additional Information

Support for "Plays inline" was added to the Gutenberg editor here. It's mentioned here that the VideoPress-enhanced video block (which is used when users upload videos) does not support playsinline at the moment.

@guarani guarani added [Feature] Media The media screen in Calypso, general media management, or integration with third party media. [Feature] VideoPress A feature to help you upload and insert videos on your site. [Type] Feature Request Feature requests labels Apr 18, 2020
@joweber123
Copy link

Another report here: 22190038-hc

@github-actions
Copy link

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.

@Robertght
Copy link

Robertght commented Dec 13, 2022

Another case in 5786166-zen

This may not be relevant anymore as I was able to get the autoplay going with the Autoplay and the Play Inline options from the Video block.

cc @Automattic/dotcom-pqa-group

@github-actions
Copy link

Support References

This comment is automatically generated. Please do not edit it.

  • 5786166-zen

@jeherve jeherve added Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". and removed User Report labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Browser] Safari Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature] Media The media screen in Calypso, general media management, or integration with third party media. [Feature] VideoPress A feature to help you upload and insert videos on your site. [Type] Feature Request Feature requests
Projects
None yet
Development

No branches or pull requests

6 participants