MP4 not supported in Firefox?

前端 未结 4 1020
轻奢々
轻奢々 2021-01-01 00:40

If I paste the following URL directly into the address bar in Firefox, the video plays just fine:

http://distilleryvesper1-13.ak.instagram.com/744b42900fab11e3a34522

4条回答
  •  盖世英雄少女心
    2021-01-01 01:13

    MP4 is not supported in Firefox through the video element unless you are on Vista (since version 22), Windows 7 (since version 21) and 8, Linux (since version 24 but disabled by default until version 26) and Android (since version 17) and then only if a third-party decoder is available for it (source).

    Update 1 (2014) Current plans is to also support MP4 for Mac from version 35 (released early next year),

    Update 2 (2016) It's supported through native APIs since v35.

    Also from Mozilla Developer Network:

    Firefox supports the format on some platforms, but only when a third-party decoder is available.

    That it plays when you supply the link directly indicates that you have a plugin installed which is capable of showing mp4 (ie. QuickTime or something similar). This and the video element are unrelated however.

    To get around this you can supply OGG Vorbis and/or WebM formats. You can use a free converter such as Miro to support these formats which are supported also in Firefox.

提交回复
热议问题