类似这样的网页,浏览器访问之后如何做到显示mp4或者图像的?

http://v7.pstatp.com/676eb7ef96f4c8b3ea5009e6f6c9dde6/57e235a4/video/c/2c0bb1d4e35f41d2b913a7791d42b809/


这是今日头条的一个网页


但是可以看到,并非一个html5+video的网页,访问之后网页中会进行播放

但是看不到后台的源代码


request也是很正常的?这是如何做到的?
...全文
258 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
xuzuning 2016-09-21
  • 打赏
  • 举报
回复
get_headers 函数 你们都不看手册的吗?
  • 打赏
  • 举报
回复
你的那个array怎么拿到的?
引用 4 楼 xuzuning 的回复:
什么意思? 连接不会做,还是动画不会做?
xuzuning 2016-09-21
  • 打赏
  • 举报
回复
什么意思? 连接不会做,还是动画不会做?
  • 打赏
  • 举报
回复
就是这里如何做到的?
引用 2 楼 xuzuning 的回复:
Array ( [0] => HTTP/1.1 200 OK [1] => Date: Wed, 21 Sep 2016 11:08:01 GMT [2] => Server: nginx [3] => Content-Type: image/gif 一幅动画而已 [4] => Content-Length: 2757045 [5] => X-Response-Date: Wed, 21 Sep 2016 11:08:01 GMT [6] => Cache-Control: max-age=2592000 [7] => Access-Control-Allow-Origin: http://slide.toutiao.com [8] => X-Via: 1.1 mdxxz64:7 (Cdn Cache Server V2.0), 1.1 angdianxin120:0 (Cdn Cache Server V2.0), 1.1 zhenjiang61:0 (Cdn Cache Server V2.0) [9] => Connection: close )
xuzuning 2016-09-21
  • 打赏
  • 举报
回复
Array ( [0] => HTTP/1.1 200 OK [1] => Date: Wed, 21 Sep 2016 11:08:01 GMT [2] => Server: nginx [3] => Content-Type: image/gif 一幅动画而已 [4] => Content-Length: 2757045 [5] => X-Response-Date: Wed, 21 Sep 2016 11:08:01 GMT [6] => Cache-Control: max-age=2592000 [7] => Access-Control-Allow-Origin: http://slide.toutiao.com [8] => X-Via: 1.1 mdxxz64:7 (Cdn Cache Server V2.0), 1.1 angdianxin120:0 (Cdn Cache Server V2.0), 1.1 zhenjiang61:0 (Cdn Cache Server V2.0) [9] => Connection: close )
  • 打赏
  • 举报
回复
视频的貌似过期了,图像的还在,补一个吧: http://p1.pstatp.com/large/2071/7833939833

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧