[英]How can I download an mp4 file using the 'download' property of HTML's a link?
I want to be able to download the "video.mp4" file with the code below.我希望能够使用下面的代码下载“video.mp4”文件。
<a href="video.mp4" download>download</a>
However, it is not downloaded and played.但是,它不会被下载和播放。
How can I make it downloaded without being played?我怎样才能让它下载而不被播放?
<a href="<resource_link>" download="<resource_name>" target="_blank">download</a>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.