video take too much to load

i make a website (iulian12h.ml) and the video load so slow

hello

you’re right
and it is not a problem in your site because when you click on this link
http://iulian12h.ml/media/video.mp4 file should download very quickly

probably server uses bandwidth throttling to actively limit the user’s upload and download rates on programs such as video streaming and other file sharing stuff
or simply distributes resources due to burdens

I would recommend you to upload your video to youtube or vimeo
( if you do not infringe any copyrights ) and then use the appropriate javascript code to embed video from these services as background

@OxyDac can you help me i just take a template from internet and that it i don’t have knowledge in javascript

sure - Here is a quick little example

edit your index.html
and delete all code
then paste this inside and save

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="media/weeb.ico">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<script>
                var msg  = document.title ="Iulian12h.ml";
                var speed = 150;
                var endChar = " ";
                var pos = 0;
                
                function moveTitle()
                {
                     var ml = msg.length;
                        
                    title = msg.substr(pos,ml) + endChar + msg.substr(0,pos);
                  document.title = title;
                    
                  pos++;
                  if (pos > ml) pos=0;
                  window.setTimeout("moveTitle()",speed);
                }
            
                moveTitle();
 </script>
 
</head>

<body onload="startTime()"><div id="txt"></div>

<!--  video bg start here -->
<div class="background-wrap">
<div style="position: fixed; z-index: -99; width: 100%; height: 100%">
  <iframe frameborder="0" height="100%" width="100%" 
    src="https://youtube.com/embed/qF59z5gVA9M?autoplay=1&controls=0&showinfo=0&autohide=1&loop=1">
  </iframe>
</div>
<!--  video bg end here  -->

</div>
<div class="content">
<h1>Iulian is AWESOME</h1>
<p>and he have a big dick</p>
<p><a href="https://steamcommunity.com/id/Iulian25h/" target="blank_" style="color: #00F555">Steam account</a></p>
</div>
<script>
            var vid = document.getElementById("video-bg-elem");
            vid.volume = 0.1;
  window.onload = function() {
    document.addEventListener("contextmenu", function(e){
      e.preventDefault();
    }, false);
    document.addEventListener("keydown", function(e) {
    //document.onkeydown = function(e) {
      // "I" key
      if (e.ctrlKey && e.shiftKey && e.keyCode == 73) {
        disabledEvent(e);
      }
      // "J" key
      if (e.ctrlKey && e.shiftKey && e.keyCode == 74) {
        disabledEvent(e);
      }
      // "S" key + macOS
      if (e.keyCode == 83 && (navigator.platform.match("Mac") ? e.metaKey : e.ctrlKey)) {
        disabledEvent(e);
      }
      // "U" key
      if (e.ctrlKey && e.keyCode == 85) {
        disabledEvent(e);
      }
      // "F12" key
      if (event.keyCode == 123) {
        disabledEvent(e);
      }
    }, false);
    function disabledEvent(e){
      if (e.stopPropagation){
        e.stopPropagation();
      } else if (window.event){
        window.event.cancelBubble = true;
      }
      e.preventDefault();
      return false;
    }
  };
</script>
</body>
</html>

once you upload your video to youtube
put ID from your video instead of my ID

find this line

src = "https://youtube.com/embed/qF59z5gVA9M?autoplay=1&controls=0&showinfo=0&autohide=1&loop=1">

and modify “qF59z5gVA9M” with your video ID

or use some video which already exists from someone you like