Skip to content

Commit a8b64ac

Browse files
authored
Merge pull request #170 from emmamarichal/main
update video article
2 parents faa4b36 + 0417f19 commit a8b64ac

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

gf-guide/article.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,14 @@ There are two options to include videos in the Article file: `MP4` with a max fi
8080
- For the `MP4` video inclusion, it must follow this format:
8181

8282
`<video autoplay muted src="your-video-name.mp4" type="video/mp4"></video>`
83-
84-
You can see this case as reference: <a href="https://github.com/google/fonts/blob/main/ofl/danfo/article/ARTICLE.en_us.html">Danfo</a>
83+
84+
or, if you need to loop it:
85+
86+
`<video loop autoplay muted src="video1.mp4" type="video/mp4">
87+
Your browser does not support the video tag.
88+
</video>`
89+
90+
You can see these cases as reference: <a href="https://github.com/google/fonts/blob/main/ofl/danfo/article/ARTICLE.en_us.html">Danfo</a>, <a href="https://github.com/google/fonts/blob/main/ofl/savate/article/ARTICLE.en_us.html">Savate</a>
8591

8692

8793
- For the `YouTube` link, this option requires a cover image to display as preview, and must follow the following format:

0 commit comments

Comments
 (0)