function handleDownloadMedia()

in packages/secure-static-site-frontend/src/ResourcesTable.tsx [100:108]


  function handleDownloadMedia(url: string) {
    const key = "media";
    dispatch({ type: "request", key });
    const video = document.createElement("video");
    video.onloadeddata = () => dispatch({ type: "response", key, status: "200" });
    video.onerror = () => dispatch({ type: "response", key, status: "Blocked" });
    video.src = url;
    video.load();
  }