Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Is there any way, at all, to play <video> with H.264 source in Firefox?

  • 2 ответа
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от mattclough

more options

I am a developer working on a site that makes heavy use of video. The site navigation and video playback controls run together, so it's important for me to be able to have full control over the videos, however, the videos must be hosted on Vimeo. The information on Firefox support for H.264 is all over the map, though at this point, I am just assuming, for the sake of practicality, that Firefox doesn't support H.264 playback at all. If I can't find a good solution, we are simply going to draw the line at Firefox and not support the browser at all for this site. It would be nice for the site to work on Firefox, but we estimate that less than 6% of our viewers will be using the browser, so it won't be hard to just redirect them to a different browser. Is there any hack, any workaround, anything at all, that I can do to play H.264 video using just the good old standard

I am a developer working on a site that makes heavy use of video. The site navigation and video playback controls run together, so it's important for me to be able to have full control over the videos, however, the videos must be hosted on Vimeo. The information on Firefox support for H.264 is all over the map, though at this point, I am just assuming, for the sake of practicality, that Firefox doesn't support H.264 playback at all. If I can't find a good solution, we are simply going to draw the line at Firefox and not support the browser at all for this site. It would be nice for the site to work on Firefox, but we estimate that less than 6% of our viewers will be using the browser, so it won't be hard to just redirect them to a different browser. Is there any hack, any workaround, anything at all, that I can do to play H.264 video using just the good old standard <video> tag?

Выбранное решение

hello mattclough, due to patent and licensing issues support for h.264 is not directly built into the browser, instead firefox relies of the capabilities of the operating system or hardware to playback such media content. this will work in windows vista/7/8, linux, android and firefox os devices - for details please refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

Прочитайте этот ответ в контексте 👍 0

Все ответы (2)

more options

Выбранное решение

hello mattclough, due to patent and licensing issues support for h.264 is not directly built into the browser, instead firefox relies of the capabilities of the operating system or hardware to playback such media content. this will work in windows vista/7/8, linux, android and firefox os devices - for details please refer to https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats