![]() If you prefer a WebM be used first, specify it first! Effect on Largest Contentful Paint (LCP) For example, if you specify an MP4 video first and the browser supports WebM, browsers will skip the WebM and use the MPEG-4 instead. Note: Browsers don't speculate about which is optimal, so the order of 's matters. Try it: Replace an animated GIF with a video. Provide both WebM and MP4, so that if a browserĭoesn't support WebM, it can fall back to MP4. Pointing to different video files that the browser can choose from, depending on Plays no audio, and plays inline (that is, not full screen), all the hallmarkįinally, the element requires one or more child elements ![]() Ī element with these attributes plays automatically, loops endlessly, Luckily, you can recreate these behaviors using the element.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |