We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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