搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Add support for new html tag

more options

The major browsers have support for the <object/> tag.

I want to incorporate a video player on my site to play .mkv video, but I cannot use most because the are based on flash, which can only play .flv & .f4v.

That's why I'm switching to the <object/> tag

But, if I wanted to incorporate a tag with the name of <mkvvideo/>, would a simple plugin associated with that tag be usable, or does the core programming of the firefox browser handle that?

Thanks

The major browsers have support for the <object/> tag. I want to incorporate a video player on my site to play .mkv video, but I cannot use most because the are based on flash, which can only play .flv & .f4v. That's why I'm switching to the <object/> tag But, if I wanted to incorporate a tag with the name of <mkvvideo/>, would a simple plugin associated with that tag be usable, or does the core programming of the firefox browser handle that? Thanks

被選擇的解決方法

所有回覆 (2)

more options

The video tag only supports a few formats and MKV (Matroska Multimedia Container) isn't one of them.
Your only option is to use the object (or embed) tag and use a player that can handle that format.
If might be better to switch to the WebM format.

由 cor-el 於 修改

more options

選擇的解決方法

If you want to embed MKV videos in a web page, see