3 Replies Latest reply on Dec 17, 2017 1:31 PM by ClayUUID

    Unload a video with PreloadJS

    marliton Level 3

      Hi. I have uploaded a video using the VideoLoader class of PreloadJS. Can I "unload" that video? I want to remove it and release the memory. Thanks.


      var carga = new createjs.VideoLoader("new-year.mp4");
      carga.addEventListener("complete", cargado);
      var vid;
      function cargado(evt) {
           vid = evt.result;
           var video = new createjs.Bitmap(vid);