ampproject / ampproject/amphtml

Video does not start playing automatically for amp-video/autoplay video on Safari.

Open
#39,244 5 comments 0 reactions 0 assignees View on GitHub
Component: amp-video & interface P2: Soon Stale Type: Bug WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

Video does not start playing automatically for amp-video/autoplay video.

### Reproduction Steps

1. Opt into a beta version of AMP
2. Open dev tools console
3. Load an AMP webpage
https://playground.amp.dev/?url=https%3A%2F%2Fpreview.amp.dev%2Fdocumentation%2Fexamples%2Fcomponents%2Famp-video&format=websites
4. Check 2nd video

Excepted Result:
Video should start to play automatically, when you open page.

Actual result:
Video does not play. After selecting play button sometimes screen goes dark.

https://screencast.googleplex.com/cast/NjQ3MTE5NjE1MDMzMzQ0MHw3Yzk0MWYwOC01MA

Note: After many refreshes it shows fallback message- Your browser doesn't support HTML5 video.
https://screencast.googleplex.com/cast/NTM0OTcyMTUzNjIwMDcwNHwyMjYyYWJiOS04ZA

Environment:

Device: Macbook Pro

Browser: Safari

Version 16.5.1 (18615.2.9.11.7)
Beta /Experimental version 2306301917000

### Relevant Logs

_No response_

### Browser(s) Affected

Safari

### OS(s) Affected

_No response_

### Device(s) Affected

_No response_

### AMP Version Affected

2306301917000

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.