aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/conflicting/web/media/formats/index.html
blob: 455655ba25c8185336b159a0bb0f1fb405a8cf84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
---
title: Media formats supported by the HTML audio and video elements
slug: Web/HTML/Supported_media_formats
translation_of: Web/Media/Formats
translation_of_original: Web/HTML/Supported_media_formats
---
<p>The {{ HTMLElement("audio") }} and {{ HTMLElement("video") }} elements provide support for playing audio and video media without requiring plug-ins. Video codecs and audio codecs are used to handle video and audio, and different codecs offer different levels of compression and quality. A container format is used to store and transmit the coded video and audio (both together, the case of a video with a soundtrack). Many combinations of codecs and container formats exist, although only a handful of these are relevant on the Web.</p>

<p>Different browsers do not support the same media formats in their implementations of HTML5 video and audio, mainly because of patent issues. The area of media formats on the Web has greatly suffered from patent law in many countries - including the USA and EU countries (the notes on patents in this article is provided as-is and without any warranty.) This article discusses the different codec and container combinations relevant to the web, including support in browsers on both desktop and other device types.</p>

<p>To make an HTML5 video, which works in the newest versions of all major browsers, you can serve your video in both WebM format and MPEG H.264 AAC format, using the <a href="/en/HTML/Element/source" title="En/HTML/Element/Source"><code>source</code></a> element like this:</p>

<pre class="brush: html">&lt;video controls&gt;
  &lt;source src="somevideo.webm" type="video/webm"&gt;
  &lt;source src="somevideo.mp4" type="video/mp4"&gt;
  I'm sorry; your browser doesn't support HTML5 video in WebM with VP8 or MP4 with H.264.
  &lt;!-- You can embed a Flash player here, to play your mp4 video in older browsers --&gt;
&lt;/video&gt;
</pre>

<h2 id="WebM">WebM</h2>

<p>The <a class="external" href="http://www.webmproject.org/" title="http://www.webmproject.org/">WebM</a> format is based on a restricted version of the <a class="external" href="http://corecodec.com/products/matroska" title="http://corecodec.com/products/matroska">Matroska</a> container format. It always uses the VP8 or VP9 video codec and the Vorbis or Opus audio codec. WebM is natively supported in desktop and mobile Gecko (Firefox), Chrome and Opera, and support for the format can be added to Internet Explorer and Safari (but not on iOS) by installing an add-on.</p>

<p><a href="http://blogs.msdn.com/b/ie/archive/2011/02/02/html5-and-web-video-questions-for-the-industry-from-the-community.aspx" title="http://blogs.msdn.com/b/ie/archive/2011/02/02/html5-and-web-video-questions-for-the-industry-from-the-community.aspx">Statement from Microsoft on why IE9 does not have native WebM support</a>.</p>

<p>The WebM format, specifically the VP8 video codec, had been acccused of patent infringment by a group of companies answering a call by the MPEG LA for the formation of a patent pool, but <a href="http://www.businesswire.com/news/home/20130307006192/en/Google-MPEG-LA-Announce-Agreement-Covering-VP8" title="http://www.businesswire.com/news/home/20130307006192/en/Google-MPEG-LA-Announce-Agreement-Covering-VP8">MPEG LA has agreed to license those patents to Google</a> under a "<a href="http://xiphmont.livejournal.com/59893.html?thread=310261#t310261" title="http://xiphmont.livejournal.com/59893.html?thread=310261#t310261">perpetual, transferable, royalty free license"</a>.  This means, effectively, that all known patents on the WebM format are licensed to everyone for free. </p>

<p>Gecko recognizes the following MIME types as WebM files:</p>

<dl>
 <dt><code>video/webm</code></dt>
 <dd>A WebM media file containing video (and possibly audio as well).</dd>
 <dt><code>audio/webm</code></dt>
 <dd>A WebM media file containing only audio.</dd>
</dl>

<h2 id="Ogg_Theora_Vorbis">Ogg Theora Vorbis</h2>

<p>The Ogg container format with the Theora video codec and the Vorbis audio codec is supported in desktop/mobile Gecko (Firefox), Chrome, and Opera, and support for the format can be added to Safari (but not on iOS) by installing an add-on. The format is not supported in Internet Explorer in any way.</p>

<p>WebM is generally preferred over Ogg Theora Vorbis when available, because it provides a better compression to quality ratio and is supported in more browsers. The Ogg format can however be used to support older browser versions (for example Firefox 3.5/3.6 don't support WebM, but do support Ogg.)</p>

<p>The patent situation of Theora is similar to that of WebM.</p>

<p>You can learn more about creating Ogg media by reading the <a class="external" href="http://en.flossmanuals.net/ogg-theora/" title="http://en.flossmanuals.net/ogg-theora/">Theora Cookbook</a>.</p>

<p>Gecko recognizes the following MIME types as Ogg files:</p>

<dl>
 <dt><code>audio/ogg</code></dt>
 <dd>An Ogg file containing only audio.</dd>
 <dt><code>video/ogg</code></dt>
 <dd>An ogg file containing video (and possibly also audio).</dd>
 <dt><code>application/ogg</code></dt>
 <dd>An Ogg file with unspecified content. Using one of the other two MIME types is preferred, but you can use this if you don't know what the contents of the file are.</dd>
</dl>

<h2 id="Ogg_Opus">Ogg Opus</h2>

<p>The Ogg container can also contain audio encoded using the <a class="external" href="http://www.opus-codec.org/" title="http://www.opus-codec.org/">Opus codec</a>. Support for this is available in Gecko 15.0 {{ geckoRelease("15.0") }} and later, on desktop and mobile browsers.</p>

<h2 id="MP4_H.264_(AAC_or_MP3)">MP4 H.264 (AAC or MP3)</h2>

<p>The MP4 container format with the H.264 video codec and the AAC audio codec is natively supported by desktop/mobile Internet Explorer, Safari and Chrome, but Chromium and Opera do not support the format. IE and Chrome also support the MP3 audio codec in the MP4 container, but Safari does not. Firefox/Firefox for Android/Firefox OS supports the format in some cases, but only when a third-party decoder is available, and the device hardware can handle the profile used to encode the MP4.</p>

<div class="note">
<p><strong>Note</strong>: MP4s encoded with a high profile will not run on lower end hardware, such as low end Firefox OS phones.</p>
</div>

<p>The MPEG media formats are covered by patents, which are not freely licensed. All the necessary licenses can be bought from MPEG LA. Since H.264 is currently not a royalty free format, it is unfit for the open web platform, according to Mozilla [<a class="external" href="http://shaver.off.net/diary/2010/01/23/html5-video-and-codecs/" title="http://shaver.off.net/diary/2010/01/23/html5-video-and-codecs/">1</a>, <a class="external" href="http://robert.ocallahan.org/2010/01/video-freedom-and-mozilla_23.html" title="http://robert.ocallahan.org/2010/01/video-freedom-and-mozilla_23.html">2</a>], Google [<a class="external" href="http://blog.chromium.org/2011/01/html-video-codec-support-in-chrome.html" title="http://blog.chromium.org/2011/01/html-video-codec-support-in-chrome.html">1</a>, <a class="external" href="http://blog.chromium.org/2011/01/more-about-chrome-html-video-codec.html" title="http://blog.chromium.org/2011/01/more-about-chrome-html-video-codec.html">2</a>] and Opera. However, since royalty free formats are not supported by Internet Explorer and Safari, <a href="https://hacks.mozilla.org/2012/03/video-mobile-and-the-open-web/" title="https://hacks.mozilla.org/2012/03/video-mobile-and-the-open-web/">Mozilla has decided to support the format anyway</a>, and Google never fulfilled their promise to <span class="external">remove support for it in Chrome</span>.</p>

<h2 id="MP3">MP3</h2>

<p>The MP3 audio format (.mp3, <code>audio/mpeg</code>; distinct from the above MP3 audio in an MP4 container case) is supported in <code>&lt;audio&gt;</code> by Firefox/Firefox for Android/Firefox OS when the operating system provides an MP3 decoder, and by Internet Explorer, Chrome and Safari.</p>

<h2 id="WAVE_PCM">WAVE PCM</h2>

<p>The WAVE container format, with the PCM audio codec (WAVE codec "1") is supported by desktop/mobile Gecko (Firefox) and Safari. Files in the WAVE container format typically end with the ".wav" extension.</p>

<div class="note"><strong>Note: </strong>See <a class="external" href="http://www.rfc-editor.org/rfc/rfc2361.txt" title="http://www.rfc-editor.org/rfc/rfc2361.txt">RFC 2361</a> for the WAVE codec registry.</div>

<p>Gecko recognizes the following MIME types as WAVE audio files:</p>

<ul>
 <li><code>audio/wave</code> (preferred)</li>
 <li><code>audio/wav</code></li>
 <li><code>audio/x-wav</code></li>
 <li><code>audio/x-pn-wav</code></li>
</ul>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{ CompatibilityTable() }}</p>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>3.0</td>
   <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
   <td>9.0</td>
   <td>10.50</td>
   <td>3.1</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: PCM in WAVE</td>
   <td>{{ CompatVersionUnknown() }}</td>
   <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>10.50</td>
   <td>3.1</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: Vorbis in WebM</td>
   <td>{{ CompatVersionUnknown() }}</td>
   <td>{{ CompatGeckoDesktop("2.0") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>10.60</td>
   <td>3.1 (must be installed separately)</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: Vorbis in Ogg</td>
   <td>{{ CompatVersionUnknown() }}</td>
   <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>10.50</td>
   <td>3.1 (must be installed separately, e.g. <a class="external" href="http://www.xiph.org/quicktime/" title="http://www.xiph.org/quicktime/">XiphQT</a>)</td>
  </tr>
  <tr>
   <td>&lt;audio&gt;: MP3</td>
   <td>{{ CompatVersionUnknown() }} (Not in Chromium)</td>
   <td>Partial (see below)</td>
   <td>9.0</td>
   <td>{{ CompatNo() }}</td>
   <td>3.1</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: MP3 in MP4</td>
   <td>
    <p>{{ CompatUnknown() }}</p>
   </td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: AAC in MP4</td>
   <td>
    <p>{{ CompatVersionUnknown() }} (Main only) (Not in Chromium)</p>
   </td>
   <td>
    <p>Partial (see below)</p>
   </td>
   <td>9.0</td>
   <td>{{ CompatNo() }}</td>
   <td>3.1</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: Opus in Ogg</td>
   <td>27.0</td>
   <td>{{ CompatGeckoDesktop("15.0") }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>: VP8 and Vorbis in WebM</td>
   <td>6.0</td>
   <td>{{ CompatGeckoDesktop("2.0") }}</td>
   <td>9.0 (<a class="external" href="http://blogs.msdn.com/b/ie/archive/2011/03/16/html5-video-update-webm-for-ie9.aspx" title="http://blogs.msdn.com/b/ie/archive/2011/03/16/html5-video-update-webm-for-ie9.aspx">must be installed separately</a>, e.g. <a class="external" href="http://tools.google.com/dlpage/webmmf/" title="http://tools.google.com/dlpage/webmmf/">WebM MF</a>)</td>
   <td>10.60</td>
   <td>3.1 (must be installed separately, e.g. <a class="external" href="http://perian.org/" title="http://perian.org/">Perian</a>)</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>: VP9 and Opus in WebM</td>
   <td>29.0</td>
   <td>{{ CompatGeckoDesktop("28.0") }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>:  Theora and Vorbis in Ogg</td>
   <td>{{ CompatVersionUnknown() }}</td>
   <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
   <td>{{ CompatNo() }}</td>
   <td>10.50</td>
   <td>3.1 (must be installed separately, e.g. <a class="external" href="http://www.xiph.org/quicktime/" title="http://www.xiph.org/quicktime/">XiphQT</a>)</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>:  H.264 and MP3 in MP4</td>
   <td>
    <p>{{ CompatVersionUnknown() }} (Not in Chromium)</p>
   </td>
   <td>Partial (see below)</td>
   <td>9.0</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>: H.264 and AAC in MP4</td>
   <td>
    <p>{{ CompatVersionUnknown() }} (Not in Chromium)</p>
   </td>
   <td>Partial (see below)</td>
   <td>9.0</td>
   <td>{{ CompatNo() }}</td>
   <td>3.1</td>
  </tr>
  <tr>
   <td>any other format</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>3.1 (plays all formats available via QuickTime)</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>Firefox OS (Gecko)</th>
   <th>IE Mobile</th>
   <th>Opera Mobile</th>
   <th>Opera Mini</th>
   <th>Safari Mobile</th>
   <th>Chrome for Android</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>2.3</td>
   <td>24.0</td>
   <td>1.0.1</td>
   <td>10.0</td>
   <td>11.0</td>
   <td>Partial (see below)</td>
   <td>3.2</td>
   <td>29.0</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: PCM in WAVE</td>
   <td>{{ CompatUnknown() }}</td>
   <td>24.0</td>
   <td>1.0.1</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>Partial (see below)</td>
   <td>3.2</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: Vorbis in WebM</td>
   <td>{{ CompatUnknown() }}</td>
   <td>24.0</td>
   <td>1.0.1</td>
   <td>{{ CompatNo() }}</td>
   <td>11.0</td>
   <td>Partial (see below)</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: Vorbis in Ogg</td>
   <td>{{ CompatUnknown() }}</td>
   <td>24.0</td>
   <td>1.0.1</td>
   <td>{{ CompatNo() }}</td>
   <td>11.0</td>
   <td>Partial (see below)</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: MP3</td>
   <td>{{ CompatUnknown() }}</td>
   <td>Partial (see below)</td>
   <td>Partial (see below)</td>
   <td>10.0</td>
   <td>{{ CompatNo() }}</td>
   <td>Partial (see below)</td>
   <td>3.2</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: MP3 in MP4</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: AAC in MP4</td>
   <td>{{ CompatUnknown() }}</td>
   <td>Partial (see below)</td>
   <td>Partial (see below)</td>
   <td>10.0</td>
   <td>{{ CompatNo() }}</td>
   <td>Partial (see below)</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;audio&gt;</code>: Opus in Ogg</td>
   <td>{{ CompatNo() }}</td>
   <td>24.0</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>Partial (see below)</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>:  VP8 and Vorbis in WebM</td>
   <td>2.3</td>
   <td>24.0</td>
   <td>1.0.1</td>
   <td>{{ CompatNo() }}</td>
   <td>16.0</td>
   <td>Partial (see below)</td>
   <td>{{ CompatNo() }}</td>
   <td>29.0</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>: VP9 and Opus in WebM</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>: Theora and Vorbis in Ogg</td>
   <td>{{ CompatNo() }}</td>
   <td>24.0</td>
   <td>1.0.1</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
   <td>Partial (see below)</td>
   <td>{{ CompatNo() }}</td>
   <td>{{ CompatNo() }}</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>:  H.264 and MP3 in MP4</td>
   <td>Partial (see below)</td>
   <td>24.0</td>
   <td>Partial (see below)</td>
   <td>10.0</td>
   <td>Partial since 11.0, full since 16.0</td>
   <td>Partial (see below)</td>
   <td>{{ CompatUnknown() }}</td>
   <td>29.0</td>
  </tr>
  <tr>
   <td><code>&lt;video&gt;</code>: H.264 and AAC in MP4</td>
   <td>Partial (see below)</td>
   <td>24.0</td>
   <td>Partial (see below)</td>
   <td>10.0</td>
   <td>Partial since 11.0, full since 16.0</td>
   <td>Partial (see below)</td>
   <td>3.2</td>
   <td>29.0</td>
  </tr>
  <tr>
   <td>any other format</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
   <td>{{ CompatUnknown() }}</td>
  </tr>
 </tbody>
</table>
</div>

<p>Notes:</p>

<ul>
 <li>AAC is only supported in the MP4 container.</li>
 <li>Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.</li>
 <li>To get the default Android browser to play H.264 video, you need to jump through some hoops, as <a href="http://www.broken-links.com/2010/07/08/making-html5-video-work-on-android-phones/">explained by Peter Gasston</a>.</li>
 <li>In Firefox OS 1.0.1, when detecting <code>&lt;video&gt;</code> support for different formats, <code>HTMLMediaElement.prototype.canPlayType</code> incorrectly reports <code>true</code> for h.264 video whereas in actual fact h.264 is not supported. In Firefox OS 1.1 this problem has been fixed.</li>
 <li>To avoid patent issues, support for MPEG 4, H.264, MP3 and AAC is not built directly into Firefox on desktop and mobile (Android and Firefox OS). Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4). Firefox desktop supports these formats on the following platforms:</li>
</ul>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Platform</th>
   <th scope="col">Gecko (Firefox) version</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=799315" title="https://bugzilla.mozilla.org/show_bug.cgi?id=799315">Windows 7+</a></td>
   <td>21.0</td>
  </tr>
  <tr>
   <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=825153" title="https://bugzilla.mozilla.org/show_bug.cgi?id=825153">Windows Vista</a></td>
   <td>22.0</td>
  </tr>
  <tr>
   <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=748351" title="https://bugzilla.mozilla.org/show_bug.cgi?id=748351">Android</a></td>
   <td>20.0</td>
  </tr>
  <tr>
   <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=714408" title="https://bugzilla.mozilla.org/show_bug.cgi?id=714408">Firefox OS</a></td>
   <td>15.0</td>
  </tr>
  <tr>
   <td>Linux</td>
   <td>
    <p>26.0 (relies on GStreamer codecs being installed)</p>
   </td>
  </tr>
  <tr>
   <td>OS X 10.7</td>
   <td><strong>Not yet </strong>(see <a class="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=851290" title="https://bugzilla.mozilla.org/show_bug.cgi?id=851290">bug</a>)</td>
  </tr>
 </tbody>
</table>

<ul>
 <li><a class="external" href="http://dev.opera.com/articles/view/introduction-html5-video/#codecs" title="http://dev.opera.com/articles/view/introduction-html5-video/#codecs">Video codecs in Opera</a></li>
 <li><a class="external" href="http://msdn.microsoft.com/en-us/library/ff975073%28v=VS.85%29.aspx" title="http://msdn.microsoft.com/en-us/library/ff975073%28v=VS.85%29.aspx">Video codecs in Internet Explorer</a></li>
 <li><a class="external" href="http://msdn.microsoft.com/en-us/library/ff975061%28v=vs.85%29.aspx" title="http://msdn.microsoft.com/en-us/library/ff975061%28v=vs.85%29.aspx">Audio codecs in Internet Explorer</a></li>
 <li><a href="http://www.chromium.org/audio-video" title="http://www.chromium.org/audio-video">Audio &amp; Video codecs in Chrome</a></li>
</ul>

<h2 id="See_also">See also</h2>

<ul>
 <li><a class="internal" href="/en/Using_HTML5_audio_and_video" title="En/Using audio and video in Firefox">Using audio and video in Firefox</a></li>
 <li><a href="http://bluishcoder.co.nz/2013/08/21/html-media-support-in-firefox.html">HTML media support in Firefox</a></li>
 <li><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#media-elements" title="http://www.whatwg.org/specs/web-apps/current-work/#media-elements">Media elements</a> (HTML 5 specification)</li>
 <li><code><a class="internal" href="/en/HTML/Element/Video" title="En/HTML/Element/Video">video</a></code></li>
 <li><a class="internal" href="/en/HTML/Element/Audio" title="En/HTML/Element/Audio"><code>audio</code></a></li>
</ul>