IE 11 keeps asking to allow Active X and scripts

I’m busy with a Digital signage project. There will be a lot of mp4’s on a folder on our server. Example: 170622-nm-SO.mp4 (= this needs to be played on 22 June in the morning)

I’ve made a html page with JS, that will choose the correct mp4 on the correct time. Everything works just fine in Chrome, but in Internet Explorer 11, it keeps asking this:enter image description here

This html file will run localy at a windows10 computer. It needs to happen in IE11. I’ve tried a lot of the IE11 settings, but it keeps asking this when executing the file.

How can I solve it, that it won’t ask this ever again?

Thanks for the help!
Laurent

[![<video width="100%" autoplay l][1]][1]oop>
  <source id="filmpje" src="https//i.stack.imgur.com//192.168.100.8/Uurroosters/LokaalplanningKW/bronbestanden/default.mp4" type="video/mp4">
  Your browser does not support HTML5 video.
</video>



// Speciale versie voor KW. Hierbij is er één HTML bestand per scherm. 
// Deze werd gemaakt voor scherm 1 = SO 


  var link = "//192.168.100.8/Uurroosters/LokaalplanningKW/bronbestanden/default.mp4";
  var verkrijgDefault = false;
  var day;  
  var moment;
  var today = new Date()


  function urlExists(url, callback) {
  fetch(url)
  .then(function(status) {
    callback(status)
  })
}

// wordt niet gebruikt momenteel, werkt niet in xibo
function doesFileExist(urlToFile)
{
    var xhr = new XMLHttpRequest();
    xhr.open('HEAD', urlToFile, false);
    xhr.send();

    if (xhr.status == "404") {
        console.log("File doesn't exist");
        return false;
    } else {
        console.log("File exists");
        return true;
    }
}


  if (today.getHours()=12 && today.getHours()=17){
  moment = "av";
  console.log("av");
  }
  else{
  verkrijgDefault = true;
    console.log("bij het moment");
}


Date.prototype.yymmdd = function() {
  var mm = this.getMonth() + 1; // getMonth() is zero-based
  var dd = this.getDate();

  return [this.getFullYear().toString().substr(-2),
          (mm>9 ? '' : '0') + mm,
          (dd>9 ? '' : '0') + dd
         ].join('');
};

var date = new Date();


if (verkrijgDefault == false){

  // In this testversion, I look to a fixed file on the desktop.
  link = "170622-vm-SO.mp4"
  //link = "file://192.168.100.8/Uurroosters/LokaalplanningKW/uitvoer/170621-vm-SO.mp4"
 // link = "//192.168.100.8/Uurroosters/LokaalplanningKW/uitvoer/" + date.yymmdd() + "-" + moment + "-SO.mp4";

  }



 document.getElementById("filmpje").src= link;
 document.getElementsByTagName("video")[0].load();



Source: stackoverflow-javascript