在不使用 Flash 的情况下在 Internet Explorer 中嵌入视频
如果我希望 IE 能够观看视频,我真的必须接受 Flash 将视频嵌入网页吗?
有没有办法在不使用 Flash 的 IE 中将视频粘贴到网页上?
严重地。
Do I really have to settle with Flash for embedding videos in a web page if I want IE to be able to view it?
Isn't there a way to stick a video on a web page in IE without Flash?
Seriously.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您只支持 IE,您可以尝试使用
更多信息:http: //perishablepress.com/press/2007/01/29/embed-flash-and-video-via-the-object-tag/
If you are just supporting IE, you can try things like using the
<object>
tag (IE version) to embed video using a plug-in like the Windows Media Player plug-in, which should be ready to use on your client's computers (if you're only supporting IE and Windows).More info: http://perishablepress.com/press/2007/01/29/embed-flash-and-video-via-the-object-tag/
IE 9 之前的 IE 中,没有本地方法可以将视频嵌入到网页中。
在 9、您的选择是仅链接到视频,并让您的用户下载它,或者使用插件。 Flash 是最广泛支持的插件,但其他选项包括 Silverlight 或 QuickTime。
自 IE 9(现在位于 平台预览,即将进入测试版),IE 支持 HTML5
标签。显然,目前它仅支持 H.264,但将来可能会支持其他编解码器。
There is no native way to embed a video in a web page in IE before IE 9.
In IE < 9, your choices are to just link to the video, and let your users download it, or to use a plugin. Flash is the most widely supported plugin, but other options include Silverlight or QuickTime.
As of IE 9 (now in platform preview, soon in beta), IE supports the HTML5
<video>
tag. Apparently, it only supports H.264 at the moment, but it may support other codecs in the future.