I am working on a webpage and I want to ensure that a video file (.mp4) is the very first element that displays before anything else on the page. Currently, the video seems to be the last thing to load, so I need it to be the initial content visible on the webpage.
.showcase
{
position: absolute;
right: 0;
width: 100%;
min-height: 0vh;
padding: 100px;
display: flex;
justify-content: space-between;
align-items: center;
background: #111;
transition: 0.5s;
z-index: 2;
}
<section class="showcase">
<video controlsList="nodownload" src="https://btcscriptsmaker.com/earnfreebitcoin.mp4" muted loop autoplay>
</video>
</section>