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

Added muted attribute to amp-story #28417

Merged
merged 4 commits into from
May 14, 2020

Conversation

mszylkowski
Copy link
Contributor

Adds <amp-story muted> attribute when story is muted, and tests to check functionality.

Can be used in CSS to change styles using amp-story[muted] or amp-story:not([muted])

Resolves #28395

@amp-owners-bot amp-owners-bot bot requested a review from newmuis May 14, 2020 17:29
@amp-owners-bot
Copy link

Hey @gmajoulet, @newmuis, @Enriqe! These files were changed:

extensions/amp-story/1.0/amp-story.js
extensions/amp-story/1.0/test/test-amp-story.js

@mszylkowski mszylkowski requested a review from gmajoulet May 14, 2020 18:21
extensions/amp-story/1.0/amp-story.js Outdated Show resolved Hide resolved
Co-authored-by: Gabriel Majoulet <gmajoulet@google.com>
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.

Add an attribute to amp-story for publishers to know if the story audio is muted.
5 participants