ampproject / ampproject/amphtml
[amp-story-player] Gracefully recover from iframe loading errors
Open
P3: When Possible
Stale
Type: Bug
WG: stories
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, if an iframe fails to load a story due to an error (e.g. from a 404 / 503, etc), the player will be stuck in a broken state. The close buttons won't even show since they are rendered at the story level.
We should investigate if there's a way to know if the story failed to load and graciously recover from it with a better error message or at least a way to exit the player.
/cc @ampproject/wg-stories
Contributor guide
Assessment
This issue has not been assessed yet.