为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

.mp4 support extension source code

more options

For my website I currently use .flv videos.

I want to switch to .mkv videos to show on my website but I don't believe firefox has support for mkv videos, only chrome.

I want to create an extension that allows for the viewing of .mkv videos.

I know firefox supports .mp4 videos and I would like a view of that source code so that it would be far more easy to incorporate support for .mkv videos.

Is there a place where I can get .mp4 support source code so that I can write an extension for .mkv videos?

Thanks,

For my website I currently use .flv videos. I want to switch to .mkv videos to show on my website but I don't believe firefox has support for mkv videos, only chrome. I want to create an extension that allows for the viewing of .mkv videos. I know firefox supports .mp4 videos and I would like a view of that source code so that it would be far more easy to incorporate support for .mkv videos. Is there a place where I can get .mp4 support source code so that I can write an extension for .mkv videos? Thanks,

所有回复 (1)

more options

Firefox's natively supported codecs include WebM and OGG Theora. For the reasons described on this page, Firefox is limited in the types of encoding it can support; I don't think Firefox native plays H.264-encoded MP4: https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements

I hadn't heard of .mkv before; I found this article with more information: http://en.wikipedia.org/wiki/Matroska Support was requested a couple of years ago, but the request was shelved. See 476727 – Support the Matroska (MKV) container.

As for where the code is: you can download the source code of Firefox, but the folks on this support board wouldn't be able to quickly point you to the parts relevant to video decoding. You might want to join one of the developer mailing lists or groups for more guidance there.

由jscher2000 - Support Volunteer于修改