HTML5音频标签不再在Chrome 58.0.3029.81中播放

HTML5音频标签不再在Chrome 58.0.3029.81中播放,html,google-chrome,audio,Html,Google Chrome,Audio,自从上次Google Chrome更新58.0.3029.81以来,我的代码不再有效: <audio id="player" src="http://serverip/stream.m3u" type="audio/mpeg"></audio> <div> <button onclick="document.getElementById('player').play()">Play</button> <button

自从上次Google Chrome更新58.0.3029.81以来,我的代码不再有效:

        <audio id="player" src="http://serverip/stream.m3u" type="audio/mpeg"></audio>
<div>
<button onclick="document.getElementById('player').play()">Play</button>
<button onclick="document.getElementById('player').pause()">Pause</button>
<button onclick="document.getElementById('player').volume += 0.1">Vol+ </button>
<button onclick="document.getElementById('player').volume -= 0.1">Vol- </button>
</div>

玩
暂停
卷+
卷
我可以确认,上述代码在另一台旧版谷歌Chrome 50.0.2661.95的笔记本电脑上运行良好。我还用Safari检查了MacBook,它也很好用

如果有人能给我一些启示,我会非常感激,因为我真的很难找到一个有效的解决方案


非常感谢你的帮助

您的代码在Chrome update 58.0.3029.81中运行良好

您可以尝试重置浏览器设置,然后尝试此操作我希望它对您有用!!:


玩
暂停
卷+
卷

全部已排序。最后,我将流从.m3u改为.mp3,效果非常好!谢谢你的帮助和确认。mp3对你有用。这帮我找到了解决办法。

兄弟,这是工作。我还使用了58.0.3029.81版(64位)。。。在我的浏览器中,它工作得很好。重置浏览器设置。。请单击“Chrome”,然后重试。。它的工作是Finechrome://settings/search#reset ... 重置你的浏览器设置…我试过了,运气不好。我现在正在挣扎:(非常感谢你的建议。我尝试重置浏览器设置,但没有任何效果。嗯。现在你可以卸载它!!然后重新安装..从官方网站,或者你可以从文件hippo..或文件horse..再试一次..)酷。我会试着回到你身边。祝你好运!如果有机会,请尝试使用.m3u文件而不是.mp3文件。以防该格式存在兼容性问题。干杯Okk明白了。。。HTML 5目前仅支持mp3关闭和wav文件。。你可以用谷歌搜索一下m3u文件在HTML5中是否支持chorme。它只在iOS文件中工作。我明白了,这就是为什么它只在我的iDevices上工作。那真是太遗憾了。谢谢你的检查。非常感谢。你做了什么??
<audio id="player" src="C:\Users\Rishii\Downloads\Parineeti-Chopra-Ayushman.mp3" type="audio/mp3"></audio>
<div>
<button onclick="document.getElementById('player').play()">Play</button>
<button onclick="document.getElementById('player').pause()">Pause</button>
<button onclick="document.getElementById('player').volume += 0.1">Vol+ </button>
<button onclick="document.getElementById('player').volume -= 0.1">Vol- </button>
</div>