html5 learning

1. The source of the page player supports multiple video files, and the browser recognizes the supported files 
<video width="320" height="240" controls="controls"> <source src="movie.ogg" type="video/ogg"> <source src="movie.mp4" type="video/mp4"> Your browser does not support the video tag.//Whether it supports video </video>
2. Three formats supported by video

    Ogg = Ogg file with Theora video encoding and Vorbis audio encoding

    MPEG4 = MPEG 4 file with H.264 video encoding and AAC audio encoding

    WebM = WebM file with VP8 video encoding and Vorbis audio encoding

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325939589&siteId=291194637