惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
博客园 - Franky
罗磊的独立博客
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
V
V2EX
F
Fortinet All Blogs
阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
U
Unit 42
GbyAI
GbyAI
A
About on SuperTechFans
WordPress大学
WordPress大学
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
D
DataBreaches.Net
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MongoDB | Blog
MongoDB | Blog

HLS

请教大家一个问题, m3u8 文件如何防下载 [视频床程序] free-hls 一个免费的 HLS 解决方案 HLS 大量小文件问题 分享几个在线用 HLS 播放的示范页面 有办法让 Chrome 支持苹果的 HTTP Live Streaming (HLS)吗
HLS 对于 Chrome for Android 的 MIME 类型是什么?
feihuxiongdi · 2018-12-06 · via HLS

我尝试使用 HLS 在移动端播放视频,m3u8 是动态生成的。

设置的 Conent-Type 为: application/x-mpegurl

  1. 当我在 Mac 和 Apple 上使用 Safair 浏览器播放时,视频可以正常播放;

  2. 当我在 Android 上使用 QQ 浏览器播放时,视频可以正常播放;

  3. 当我在 Android 上使用 Chrome 浏览器播放时,视频不能正常播放,显示总时长为 0 秒;

  4. 当我把 m3u8 作为静态资源,使用 Chrome for Android 访问时,视频可以正常播放。

当设置 MIME 为其他值,如:

	video/mp4,
	video/mpeg,
	audio/x-mpegurl 

都不能解决 Chrome for Android 的播放问题。