下载视频
<script src="http://danml.com/js/download2.js"></script> var x=new XMLHttpRequest(); x.open("GET", src, true); x.responseType = 'blob'; x.onload=function(e){download(x.response,"下载视频名字", "video/mp4" ); } x.send();
下载视频
<script src="http://danml.com/js/download2.js"></script> var x=new XMLHttpRequest(); x.open("GET", src, true); x.responseType = 'blob'; x.onload=function(e){download(x.response,"下载视频名字", "video/mp4" ); } x.send();