Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67497

How to defer the loading of an HTML video

$
0
0

I have a page where there's a video on autoplay. So, of course, the initial load can pretty long. The solution would be to remove that video, or at least the autoplay. But no choice here.

So I was wondering what would be the best solution to defer the loading of the video? Like, initially it would display the poster and once the video is loaded it starts.


Viewing all articles
Browse latest Browse all 67497

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>