I created a loading page for my website but I need some help.
The loading page is visible until the full HTML page is loaded and then it fades out. My problem is, I have a video as a background and I would like to make the loading page visible until my video in the background is loaded.
Is that possible? if you can help me, give advice or other, will be grateful.
Frage
JS Script for fadeout
$(window).on('load', function(){
$('.loading').fadeOut(500);
});
With .loading my css of my div with the loading page content. Video is after, in the HTML body.