简体   繁体   English

Chrome无法下载,但其他浏览器可以…mp4上的html链接

[英]Chrome can't download but other browser can … html link on mp4

i try to add a simple link for download video in http://www.netcamstudio.com/ ... the webinterface is on GPL licence ... 我尝试在http://www.netcamstudio.com/中添加用于下载视频的简单链接... Web界面位于GPL许可证上...

So i juste add : 所以我只想补充一下:

$('.outPopUp').append('<a href="'+ directory.getLibraryURL(data.Id, data.ItemType, false) +
'" download="'+data.Id+'"><img src="./img/download.png" class="downloadButton" tabindex="1" /></a>');

On all web browser this is work exept on chrome ... 在所有网络浏览器上,这都是在chrome上进行的工作...

i have link like : http://192.168.1.96:8100/Library/201610170122.mp4?authToken=4b0ea803-f831-44fb-965f-e8ea77bae1c1 我有这样的链接: http : //192.168.1.96 : 8100/Library/201610170122.mp4?authToken=4b0ea803-f831-44fb-965f-e8ea77bae1c1

if a follow the link in chrome i can see the video ... but can't download ! 如果点击chrome中的链接,我可以看到视频...但是无法下载! ( Chrome say link is not found ) (Chrome说找不到链接)

any idea why ? 知道为什么吗?

I found the problem ... 我发现了问题...

The api of netcamstudio have a little bug ... and say the video size is 0 ... netcamstudio的api有一个小错误...并说视频大小为0 ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何下载MP4文件而不是在浏览器上播放? - How can I download a MP4 file instead of playing it on browser? 通过PHP fpassthru()加载mp4 / webm的Chrome HTML5视频:无法设置currentTime? - Chrome HTML5 video with mp4/webm loaded via PHP fpassthru(): can't set currentTime? 如何从 https 链接下载 MP4 文件并在 Node.js 中重定向? - How can I download MP4 file from https link with redirect in Node.js? 为什么FireFox无法在HTML5上播放长视频(.mp4 2GB +) - Why FireFox can't play long videos (.mp4 2GB+) on HTML5 如何为AWS mp4目标链接创建下载链接 - How to create a download link for an AWS mp4 target link 只有一个简单的html和js文件,我怎么能强制链接到MP3下载而不是只是播放? - with just a plain html and js file, how can i force a link to an mp3 to download instead of just play? 如何使用 AJAX 与其他 FormData 一起上传 .mp4、.mp3 和 .doc 文件? - How can I upload .mp4, .mp3 and .doc Files along other FormData with AJAX? iPhone (iOS) 从网站上的链接下载 MP4 - iPhone (iOS) download an MP4 from a link on a site 如何在 Chrome 浏览器中从 MediaStream 制作 mp4 - How to make mp4 from MediaStream in Chrome browser 从浏览器中的mp4链接获取缩略图 - get thumbnail from mp4 link within browser
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM