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

Fixing background-audio on amp-story-page. #20477

Merged

Conversation

gmajoulet
Copy link
Contributor

I broke the selector getting the background-audio media element from the page to play/unmute it in #20264.

It was repeating amp-story-page in the selector even though it was already querying from the amp-story-page itself. The new version will eventually do a querySelector(':scope > audio') but is a pretty fragile implementation, that we should refactor eventually.

Closes #20473

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

Successfully merging this pull request may close these issues.

None yet

4 participants