ampproject / ampproject/amphtml

Amp story auto-advance-after a background-audio skips the page on iOS

Open
#33,831 5 comments 0 reactions 0 assignees View on GitHub
Stale Type: Bug WG: stories
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.