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

✅✨ Allow <amp-video noaudio> #15322

Merged
merged 2 commits into from May 16, 2018
Merged

Conversation

alanorozco
Copy link
Member

@alanorozco alanorozco commented May 15, 2018

This is merely an annotation for:

  • hiding the equalizer icon
  • allowing <amp-story> to implement its own UI semantics for mute/unmute

Partial for #13652
Fixes #11940

/cc @newmuis

Copy link
Contributor

@aghassemi aghassemi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet. Thank you @alanorozco

@@ -60,6 +60,10 @@ attr_lists: {
name: "muted"
value: ""
}
attrs: {
name: "noaudio"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add to .md file describing its purpose.

Copy link
Contributor

@honeybadgerdontcare honeybadgerdontcare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validation change looks fine

@honeybadgerdontcare
Copy link
Contributor

@alanorozco is documentation coming in a different PR or an issue requesting it?

@alanorozco
Copy link
Member Author

@aghassemi @honeybadgerdontcare

Documentation added.

@alanorozco alanorozco merged commit ca995f2 into ampproject:master May 16, 2018
twifkak added a commit to twifkak/amphtml that referenced this pull request May 16, 2018
@twifkak twifkak mentioned this pull request May 16, 2018
honeybadgerdontcare pushed a commit that referenced this pull request May 16, 2018
* Attributes must be alphabetical by name

* Error message for inline style being too long.

* Revision bump for #15322
@newmuis
Copy link
Contributor

newmuis commented May 24, 2018

/slowpoke Should noaudio actually force muted to be true?

@alanorozco
Copy link
Member Author

@newmuis: @aghassemi and I decided against that. If the semantics for amp-story require muted, we can revisit (or, alternatively, they could be skipped when unmuting based on their attribute in MediaPool).

@newmuis
Copy link
Contributor

newmuis commented May 24, 2018

Not really required, just bikeshedding on the semantics of having a noaudio video with audio 😄

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

Successfully merging this pull request may close these issues.

None yet

5 participants