'Can you use a video overlay for loading instead of manually animating?

Just started learning HTML and CSS 2 days ago. I was wondering if you could use a loading overlay instead of manually animating. Thank you!



Solution 1:[1]

Yes you can, but I suspect you would like to put some text over the video as well, so you have to consider the opacity and the z-index of both the video and the text. Considering you just started learning a few days ago, using youtube will be helpful.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dharman