ampproject / ampproject/amphtml
Amp story auto-advance-after a background-audio skips the page on iOS
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
When setting the auto-advance-after to the pageID it should use the background-audio length to advance, but on iOS (tested on Safari) it auto-advances the page really fast. This makes it impossible to navigate backwards.
```html
```
The background audio does load and play if the auto-advance is disabled on the page, so the problem should not be related to the audio file.
cc @ampproject/wg-stories
Contributor guide
Research direction
Start by reproducing the provided amp-story-page example on iOS Safari, comparing auto-advance-after="p8" with auto-advance disabled. Trace how the page ID and background-audio duration are handled, then verify that the page waits for the audio duration and remains navigable backwards.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100