Home  >  Article  >  Web Front-end  >  What formats of video and audio can html5 play?

What formats of video and audio can html5 play?

青灯夜游
青灯夜游Original
2022-01-17 11:46:088016browse

html5 can play formats: 1. Video formats mainly include ogg (an open source video packaging container), mpeg4, wehm (an open, free media file format released by Google), etc.; 2. Audio formats mainly include ogg, mp3, wav, etc.

What formats of video and audio can html5 play?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

What formats of video and audio can HTML5 play?

The video formats embedded in HTML5 mainly include ogg, mpeg4 , wehm, etc.

  • ogg: An open source video packaging container, its video file extension is ogg.

  • mpeg4: Video file extension is mp4. At present, MPEG-LA stipulates that as long as the video is played for free on the Internet, a license can be obtained free of charge.

  • Webm: An open, free media file format released by Google, its video file extension is webm.

The audio formats embedded in HTML5 mainly include ogg, mp3, wav, etc.

  • ##ogg:ogg audio file The extension is ogg. The ogg audio format is similar to the mp3 audio format.

  • mp3: The audio file extension is mp3.

  • wav: Sound file format, its extension is wav.

Related recommendations: "

html video tutorial"

The above is the detailed content of What formats of video and audio can html5 play?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn