![]() Videos are made up of two parts: the container and the video codec. While the HTML video element itself has been supported for many years, the same can’t be said for the wide variety of video formats. playsinline means that mobile browsers will play the video where it is on the page rather than opening in fullscreen. With this code the video will play automatically in a continuous loop with no audio. It’s easy to recreate the behavior of a GIF using the HTML video element. There are a beguiling amount of ways to achieve the same outcome but one thing is clear: there’s really no good reason to use the bulky. Twitter, for example, has a “GIF” button that actually inserts a element with an MP4 file into your tweet - no. The word has stuck around but the image format itself is ancient and obsolete. So you want an auto-playing looping video without sound? In popular vernacular this is the very meaning of the word GIF.
0 Comments
Leave a Reply. |