原因:没有为mp4设置响应的mime Type,默认就是附件的形式。

应该为其设置mime type类型  video/mp4

 <staticContent>
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
</staticContent>

最新文章

  1. 同步辅助类CountDownLatch用法
  2. CClayer ignoreAnchorPointForPosition 参数的作用
  3. git rebase 和 reset的区别
  4. 【转载】绝对干货!Linux小白最佳实践:《超容易的Linux系统管理入门书》(连载九)如何通过源代码安装软件
  5. Attribute的一个列子
  6. Temporary exceptions can be configured via your app&#39;s Info.plist file.
  7. tomcat支持php
  8. 挖个坑,写一个Spring+SpringMVC+Mybatis的项目
  9. js解析jsonArray嵌套
  10. freemarker.template.TemplateException:Error executing macro:mainSelect
  11. Object类----toString,equals,hashcode
  12. pandas用法之二
  13. MT【5】蝴蝶效应:一道递推式为二次的数列
  14. requests下载文件并重新上传
  15. centos 网卡名称修改
  16. Android - 错误:&amp;quot;No resource found that matches the given name android:Theme.Material&amp;quot;
  17. 在python中逐行读取大文件
  18. JAVA第一个窗体小程序
  19. golang的array/slice
  20. Http status(二)

热门文章

  1. ceph各个版本之间参数变化分析
  2. Linux下如何创建loop device
  3. 【python爬虫】用requests库模拟登陆人人网
  4. mysql之事物
  5. RTP协议解析及H264/H265 音视频RTP打包分析
  6. Linxu (centos6.8)常见目录及文件解析
  7. unity 顶点弹性网格效果
  8. tp5 删除图片以及文件
  9. Springboot 框架整理,建议做开发的都看看,整理的比较详细!
  10. go-zero 如何扛住流量冲击(二)