ampproject / ampproject/amphtml
Webstory player - Rewind method doesn't reset the cover image
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
I'm trying to reset the state of the webstory player when reloading the page. I used the rewind method when finish page loading, that way I can start over the first story again.
However, If I was in a step different from the first one, after rewind it doesn't load the initial cover image.
### Reproduction Steps
1. Load webstory and navigate through the pages.
2. Stop navigation in a webstory page different from first one and reload the web page.
3. run player.rewind() to make the webstory to start again from the first webstory page.
Result: Initial cover image is not loading even if the player is now in the first webstory page.

### Relevant Logs
_No response_
### Browser(s) Affected
_No response_
### OS(s) Affected
_No response_
### Device(s) Affected
_No response_
### AMP Version Affected
v0
Contributor guide
Assessment
This issue has not been assessed yet.