Mobile app version of vmapp.org
Login or Join
Angela700

: Does display:none prevent a video from being downloaded I have a 22MB video on my homepage but when the screen goes narrow, the entire div won't show, to prevent it loading slowly on a phone.

@Angela700

Posted in: #Css #Video

I have a 22MB video on my homepage but when the screen goes narrow, the entire div won't show, to prevent it loading slowly on a phone.

Is the page still downloading the video and just not showing (bad thing) or is the CSS display:none preventing it from downloading (good thing).

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

1 Comments

Sorted by latest first Latest Oldest Best

 

@Marchetta884

It is still being downloaded, and hidden, if you use display:none.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme