Please only file bugs/feature requests for AMP here.
What's the issue?
Paused video with autoplay attribute starts playing after switching browser tabs, should stay
paused according to docs:
“if the user has interacted with the video (e.g., mutes/unmutes, pauses/resumes, etc.), and the video is scrolled in or out of view, the state of the video remains as how the user left it. For example, if the user pauses the video, then scrolls the video out of view and returns to the video, the v..."
This behavior only affects video that has been set to autoplay
How do we reproduce the issue?
- add an amp-video that has autoplay
- add custom control to pause it
- it starts playback
- click to pause it
- go to a different tab, and come back to the tab where it was paused
- it plays, expected: it should be paused
What browsers are affected?
All browsers
Which AMP version is affected?
We believe it was it broken. Using latest AMP version