Closed masakudamatsu closed 6 years ago
Using the src attribute, instead of the source element, is totally fine if there's only one video source. So I leave the HTML code as it is now.
The autoplay should generally be avoided. But in our case, the video has no sound and is rather light. And it is very visually enticing. Asking the visitor to click to play the video is perhaps less desirable in our case.
I've added the playsinline attribute so that iOS10 will start playing the video automatically.
I've added a video capture image as a fallback.
Study how the video tag works.