html - 音频html标签无法快进或快退控制

标签 html audio header fast-forward rewind

我使用音频 html 标签从上传服务器加载音频,但我不知道为什么我的音频无法像往常一样循环、快进或快退控制。

我的音频:http://vmeet.world-telephone.com/m2/x.php?f=1682667950&x=1

标题:

Accenpt-Ranges:bytes
Connection:Keep-Alive
Content-Length:4707216
Content-Range:bytes 0-4707215/4707216
Content-Type:audio/mpeg
Date:Thu, 18 Dec 2014 16:45:24 GMT
Keep-Alive:timeout=5, max=100
Server:Apache/2.4.10 (Win32) PHP/5.3.29 OpenSSL/1.0.1j
X-Powered-By:PHP/5.3.29

请告诉我如何解决,非常感谢

最佳答案

配置服务器时出现拼写错误。更改Accenpt-RangesAccept-Ranges .

Header set Accept-Ranges bytes对于 Apache 2.x mod_headershttpd.conf .

server.range-requests = "enable"对于 Lighttpd。

Status Code应更新为206那么。

/image/9ms1S.png

关于html - 音频html标签无法快进或快退控制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27551737/

相关文章:

html - 悬停时文本移动

ios - Gluon iOS 音频播放器

javascript - 将 header 数据存储在 url 中

html - 具有可调整大小图像的 flexbox 列

javascript - 如何使用jsoup选择html文档的叶标签

php - 我的错误消息在其左侧的错误消息下方进行了格式化

javascript - 使用javascript从localhost网站播放声音

javascript - 使用 WebAudio 合并/混合两个音频流

python - 如何自动拉伸(stretch) QTableView 列并保持它们可调整

c++ - 关于 C/C++ 中使用的头文件保护和头文件包含的说明