I have created a transparent PNG image featuring a theater setup and I am attempting to overlay a 1-second video as a background element, similar to a GIF. However, when I try to display the video, instead of seeing it, the background color appears. Additionally, setting the z-index lower than other elements does not seem to solve the issue. Interestingly, removing the video using the inspect element tool reveals that it is indeed present.
It's worth noting that this example is just a demonstration to highlight the problem at hand.
<div id="bg" style='position:absolute;z-index:0;left:0;top:0;width:100%;height:100%'>
<img style='width:100%;height:100%;' alt='[]' src="http://www.moviebowlgrille.com/img/nav/rental.png">
<video style='width:100%;height:100%;' alt='[]' autoplay loop>
<source src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" type="video/mp4" />
Unfortunately, this site cannot run on your computer. Please upgrade your browser/buy a new computer.
</video>
</div>