Skip to content

Conversation

westonruter
Copy link
Member

@westonruter westonruter commented Jul 16, 2019

Addresses issue #4594.

@westonruter
Copy link
Member Author

There is one issue, however: amp-bind is not set up to allow toggling the paused state of an amp-video. Neither is there a togglePlay action exposed on amp-video. There are only play and pause actions. This means that the singular wp-custom-header-video-button will not work as-is in how it toggles pause/play. There will need to be two separate buttons, one for pause and another for play and only one can be shown at a time. For accessibility, we'll need to ensure that focus is put on the alternate button when toggling.

Todo: Raise this with AMP core.

@jauyong jauyong added Size: S Upstream Bug Requires an upstream change from WordPress, Gutenberg, or another dependency. labels Nov 12, 2019
@schlessera
Copy link
Collaborator

Todo: Raise this with AMP core.

=> ampproject/amphtml#25669

@amedina amedina added Sanitizers and removed Size: S Integration: WP Core On Hold Upstream Bug Requires an upstream change from WordPress, Gutenberg, or another dependency. labels Mar 31, 2020
@westonruter westonruter linked an issue Apr 16, 2020 that may be closed by this pull request
@schlessera schlessera added the WS:Core Work stream for Plugin core label Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Signed the Google CLA Sanitizers WS:Core Work stream for Plugin core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants