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

Vimeo autoplay fails with new policy #428

Closed
pikilon opened this issue Jun 22, 2018 · 1 comment
Closed

Vimeo autoplay fails with new policy #428

pikilon opened this issue Jun 22, 2018 · 1 comment

Comments

@pikilon
Copy link
Contributor

pikilon commented Jun 22, 2018

The iframe generated by Vimeo player doesn't have allow="autoplay" so or you mute it or autoplay will fail.
In the other hand youtube's one works with this attribute.
I've been diggin a little bit in the code and Vimeo Player allows to ref an Iframe itlself so it could be a good way of control this attribute before put it into the DOM (if you do it later it will fail to autoplay too)

@cookpete
Copy link
Owner

The problem with using a rendered iframe is that Vimeo shared URLs do not work (ie https://vimeo.com/yannickcerrutti/annecydroneinmotion) whereas generating a fresh embed lets you use any Vimeo URL. The "proper" solution is to fix the Vimeo API, which I see you've created an issue for already. I think we just need to wait for Vimeo to fix it.

Also, it's worth noting that recent versions of Chrome will not autoplay Vimeo videos anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants