Remove an unused JS function

This commit is contained in:
Yuji Kanagawa 2021-09-20 13:42:35 +09:00
parent e71198ef11
commit 35f159a6cd

View File

@ -30,15 +30,6 @@ HTML = """
console.log(url);
image.src = url;
}
function saveVideo() {
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://via.placeholder.com/150', true);
xhr.responseType = 'blob';
xhr.onerror = err => {
alert('Video is not ready');
};
xhr.send();
}
</script>
<div>
<canvas id="canvas" width="600" height="480"></canvas>