. . , , .
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
<video>: WebM, VP8, Vorbis | (Yes) | 4.0 (2.0) | 9.0 (must be installed separately, e.g. WebM MF) | 10.60 | 3.1 (must be installed separately, e.g. Perian) |
<video>: Ogg, Theora, Vorbis | (Yes) | 3.5 (1.9.1) | Not supported | 10.50 | 3.1 (must be installed separately, e.g.XiphQT) |
<video>: MPEG 4, H.264, MP3 | (Yes) (Not in Chromium) | Not supported (coming soon, if third-party decoder is installed) | 9.0 | Not supported | 3.1 |
<video>: MPEG 4, H.264, AAC | (Yes) (Not in Chromium) | Not supported (coming soon, if third-party decoder is installed) | 9.0 | Not supported | 3.1 |
. 1. . Mozilla
- <video>. , <audio>, <video>, , :
SRC ;
AUTOPLAY ;
AUTOBUFFER ;
CONTROLS ;
TYPE MIME ;
POSTER , . , , ;
WIDTH, HEIGHT px;
LOOP ;
<video width="300px" controls> | |||||
<source src="video.mp4" type="video/mp4" /> | |||||
<source src="video.ogg" type="video/ogg" /> | |||||
HTML5, . | |||||
</video> | |||||
4. HTML5
. . , , .
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
<video>: WebM, VP8, Vorbis | (Yes) | 4.0 (2.0) | 9.0 (must be installed separately, e.g. WebM MF) | 10.60 | 3.1 (must be installed separately, e.g. Perian) |
<video>: Ogg, Theora, Vorbis | (Yes) | 3.5 (1.9.1) | Not supported | 10.50 | 3.1 (must be installed separately, e.g.XiphQT) |
<video>: MPEG 4, H.264, MP3 | (Yes) (Not in Chromium) | Not supported (coming soon, if third-party decoder is installed) | 9.0 | Not supported | 3.1 |
<video>: MPEG 4, H.264, AAC | (Yes) (Not in Chromium) | Not supported (coming soon, if third-party decoder is installed) | 9.0 | Not supported | 3.1 |
. 1. . Mozilla
|
|
- <video>. , <audio>, <video>, , :
SRC ;
AUTOPLAY ;
AUTOBUFFER ;
CONTROLS ;
TYPE MIME ;
POSTER , . , , ;
WIDTH, HEIGHT px;
LOOP ;
<video width="300px" controls> | |||||
<source src="video.mp4" type="video/mp4" /> | |||||
<source src="video.ogg" type="video/ogg" /> | |||||
HTML5, . | |||||
</video> | |||||
4. HTML5