Created
August 1, 2024 02:53
-
-
Save JezDriver/7a1402f3ef82049c51f317fa2a97271b to your computer and use it in GitHub Desktop.
Use a video as only a poster without preloading the video itself #html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#preload --> | |
| <video muted preload="metadata"> | |
| <source src="/blah.mp4" type="video/mp4"> | |
| </video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment