BLOB - Why?



  • I don't understand what BLOB is like in html... what can be done with it and why?



  • It's a dual file, considering the use in html rather than js, an example will be the references to the images coming from their or other web cameras (webrtc). Of course, we can encrypt the file in base64 and put it on the page, but if the file is generated (and is not on the server) by a big or stiff, it's a problem, and for that, we're making a link to this object in memory, not a way to file or encrypted in the url data T.:

    var video = document.getElementById("video");
    video.src = window.URL.createObjectURL(vid);
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2