title: HTML, Javascript, Loading page with page + video
body: <p>I created a loading page for my website but I need some help.</p>
  
  <p>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.</p>
  
  <p>Is that possible? if you can help me, give advice or other, will be grateful.</p>
  
  <p>Frage</p>
  
  <p>JS Script for fadeout </p>
  
  <pre><code>$(window).on('load', function(){
      $('.loading').fadeOut(500);
  });
  </code></pre>
  
  <p>With .loading my css of my div with the loading page content.
  Video is after, in the HTML body.</p>