Skip to content

Commit

Permalink
Added that autoplay is required on videos (#36398)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszylkowski authored Oct 19, 2021
1 parent e950bd5 commit 7fb31fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions/amp-video/0.1/amp-video.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ Alternatively, you can present a click-to-play overlay.

### autoplay

[filter formats="stories"]

Required for videos inside stories.

[/filter]<!-- formats="stories" -->

If this attribute is present, and the browser supports autoplay, the video will be automatically
played as soon as it becomes visible. There are some conditions that the component needs to meet
to be played, [which are outlined in the Video in AMP spec](../../../docs/spec/amp-video-interface.md#autoplay).
Expand Down

0 comments on commit 7fb31fe

Please sign in to comment.