在 html4 中嵌入音频的最新技术是什么?
我一直在努力寻找一个关于如何嵌入音频的最新技术的明确的现代来源,并且找到了许多关于 Flash 视频的最新信息,以及许多非常旧的和有问题的信息有关音频嵌入的文章(例如参考 IE 3.0)。也无法在 stackoverflow 或 doctype 上找到任何内容。
我正在用 html4 编写,所以显然虽然 html5 音频标签很棒,但它不是我的解决方案。
那么应该如何嵌入音频以最大化功能和浏览器支持呢?
我正在使用的特定文件是 midi 类型,尽管我认为这不会太重要。
I've been trying to find a definitive modern source for the state of the art in how to embed audio, and been finding lots of up to date info on flash video, and lots of really old and questionable articles on audio embedding (e.g. with references to IE 3.0). Also haven't been able to find anything here on stackoverflow, or on doctype.
I'm writing in html4, so obviously though the html5 audio tag would be great, it's not a solution for me.
So how should audio be embedded for maximizing features and browser support?
The specific file that I'm working with is a midi type, though I don't expect that's overly important.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 HTML4 中,最好的可能是
In HTML4, the best thing would probably be an
<object>
, since<embed>
was deprecated in that version. See e.g. Generic inclusion: theobject
element in the HTML4 specs. Something like this would suffice: