-
Notifications
You must be signed in to change notification settings - Fork 179
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
Add support for <amp-story-audio-sticker>
#13440
Labels
AMP Format
Issues that need to be addressed in the AMP story format
AMP Output
Issues related to AMP output and validation
Group: Workspace
A group encompassing all of workspace – everything inside the canvas and sidebar
P2
Should do soon
Type: Enhancement
New feature or improvement of an existing feature
Milestone
Comments
swissspidy
added
Type: Enhancement
New feature or improvement of an existing feature
Status: Blocked
On hold for the time being
AMP Format
Issues that need to be addressed in the AMP story format
AMP Output
Issues related to AMP output and validation
P3
Nice to have
Group: Workspace
A group encompassing all of workspace – everything inside the canvas and sidebar
labels
Aug 2, 2023
swissspidy
changed the title
Add support for <amp-story-audio-sticker>
Add support for Aug 2, 2023
<amp-story-audio-sticker>
From chatting with @AnuragVasanwala:
|
Some thoughts on implementation details:
In the editor UI
|
From our discussion just now:
To detect whether a story has any audio (untested but should work): const hasAudioAnywhere = useStory(
({ state }) =>
state.story.backgroundAudio ||
state.pages.some(
(page) =>
page.backgroundAudio ||
page.elements
.filter(elementIs.video)
.some((element) => !element.resource.isMuted)
)
); |
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
AMP Format
Issues that need to be addressed in the AMP story format
AMP Output
Issues related to AMP output and validation
Group: Workspace
A group encompassing all of workspace – everything inside the canvas and sidebar
P2
Should do soon
Type: Enhancement
New feature or improvement of an existing feature
Feature Description
This new
amp-story-audio-sticker
extension has been added recently, see ampproject/amphtml#39184245924556-e953c54a-0a09-4f15-8134-be6a0ac758ab.mp4
No limits in how many stickers can be added to a story.
Color of the sticker drop shadow and outline can be customized.
Stickers can be added in two different sizes:
The following stickers exist:
Alternatives Considered
Additional Context
Currently blocked by:
<amp-story-audio-sticker>
ampproject/amp-toolbox-php#542amp-story-audio-sticker
to spec ampproject/amp-wp#7603The text was updated successfully, but these errors were encountered: