MP4 正在下载而不是播放 [英] MP4 is downloading instead of playing

查看:24
本文介绍了MP4 正在下载而不是播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时会下载 MP4 文件,有时会在浏览器中播放.

MP4 files are sometimes downloaded, and other times they play in the browser.

这两个链接有什么区别?

What is the difference between these two links?

1) 如果您在 Chrome 中打开此 URL,将下载视频:

1) If you open this URL in Chrome, the video will download:

http://video.video-mall.com/video_mall/400241188377_video.mp4

2) 如果您在 Chrome 上打开此 URL,视频将在浏览器中播放:

2) If you open this URL on Chrome, the video will play in the browser:

http://www.simplethoughtproductions.com/wp-content/uploads/SimpleShorts/Morning_Mail/morning_mail.mp4

这是为什么?

推荐答案

第一个链接有 Content-Type: application/octet-stream 头,而第二个 Content-Type: video/mp4.

First link has Content-Type: application/octet-stream header, while the second one Content-Type: video/mp4.

这篇关于MP4 正在下载而不是播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆