在网页中嵌入音频
我目前正在设计和构建一个网站,我需要嵌入一些音频文件(从乐队专辑中的各种曲目中提取约 60 秒),以便人们可以快速收听他们的材料,而无需将任何文件下载到桌面等。
我知道QuickTime 过去是最受欢迎的(也许现在仍然是?),但由于这个原因,我有过一些网页延迟和加载时间差的经验。另外,我知道 HTML5 中有一个标签,但我想知道兼容性如何?
真的,我只是想知道是否有人对经过尝试和测试的方法来完成此任务有任何建议?
I'm currenlty desigining and building a website where I need to embed some audio files (some 60sec extracts from various tracks from a band's album) so people can listen to their material quickly without having to download any files to their desktop etc.
I know QuickTime was a favourite in the past (perhaps it still is?) but I've had some experience with lag and poor load times of a web page because of this. Also, I understand there's an tag in HTML5 but I wonder about compatibility?
Really I just wondered if anyone had any recommendations on the a tried and tested approach to accomplish this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不是一个理想的解决方案,但我最终选择了一个基于 Flash 的插件 - 似乎在兼容设备上工作得很好(可惜它在手机/平板电脑等上没有得到特别好的支持)。
如果您有兴趣,请给“dewplayer”谷歌一下...
Not an ideal solution, but I went for a Flash based plugin in the end - seems to work resonably well on compatible devices (shame it's not particularly well supported on mobiles/tablets etc. though).
Give 'dewplayer' a Google if you're interested...