In my site video use the blob data, when the video was downloaded, the saved filename is the blob name with .txt
(4671addc-3ce0-4eb6-b414-ddf3406b1fe5.txt
) extension in Chrome borwser, while in firefox is with .mp4
(4671addc-3ce0-4eb6-b414-ddf3406b1fe5.mp4
) extension.
How can I specific the download file extension and the filename.
I've tried to set it with below code, but none works.
type="video/mp4"
filename="111.mp4"
download="111.mp4"
Here is the sample code, I use now.
<video
width="300px"
id="video"
type="video/mp4"
filename="111.mp4"
download="111.mp4"
controls=""
src="blob:http://localhost/4671addc-3ce0-4eb6-b414-ddf3406b1fe5">
</video>