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

Soundcloud - fix autoplay delegation #614

Merged

Conversation

talibnelson
Copy link
Contributor

Since the Soundcloud Player is loaded via an iframe, there are instances when that player will not be allowed to play in Chrome, even after a user has interacted with the parent document. The parent receives the autoplay permission but it's never delegated to the iframe because it currently does not have a "feature policy" attribute.

More information here: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#iframe

This PR adds that attribute for autoplay and updates the accompanying test.

@cookpete cookpete merged commit 7d8dedd into cookpete:master Apr 10, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants