ampproject / ampproject/amphtml
[amp-story-player] Show placeholder background / spinner while story loads
Open
Stale
Type: Feature Request
WG: stories
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Currently when navigating through stories in the player, it will show the next story's content loading. This can cause some undesired UX.
We should add a background + spinner until the `storyContentLoaded` event is dispatched by the story.
Background color: `#202125`
Fade out animation duration: 200ms
Spinner animation:
Duration: 1s
curve: cubic-bezier(0.0, 0.0, 0.2, 1);

Contributor guide
Assessment
This issue has not been assessed yet.