Home  >  Article  >  Web Front-end  >  Does html5 support wmv format?

Does html5 support wmv format?

青灯夜游
青灯夜游Original
2022-07-28 16:59:132840browse

html5 does not support wmv video format. HTML5 provides a standard for playing video files. Currently, it only supports three video formats: 1. MP4 format, which is a set of compression coding standards for audio and video information; 2. WebM format, proposed by Google, is an open and free Media file format; 3. Ogg format, using Theora video codec and Vorbis audio codec.

Does html5 support wmv format?

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

WMV (Windows Media Video) is the collective name for a series of video codecs and related video encoding formats developed by Microsoft. It is part of the Microsoft Windows Media Framework. WMV contains three different codecs: WMV original video compression technology originally designed and developed for streaming applications on the Internet as a competitor to RealVideo; the other is WMV screen and WMV image compression to meet specific content needs Technology; after standardization by SMPTE (Society of Motion Picture and Television Engineers), WMV version 9 was adopted as the distribution format for physical media, such as high-definition DVD and Blu-ray Disc, the so-called VC-1.

html5 does not support wmv video format.

HTML5 provides a standard for playing video files. You can use the tag to define videos, such as movie clips or other video streams.

Currently, the

##MP4video/mp4WebMvideo/webmOggvideo/ogg
Format MIME-type
  • MP4 = MPEG 4 file uses H264 video codec and AAC audio codec

    MP4 is a set of compression encoding standards for audio and video information, composed of Developed by the "Moving Picture Experts Group (MPEG)" under the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC), the first version was adopted in October 1998, and the second version was adopted in December 1999 pass. The main uses of the MPEG-4 format are in online streaming, optical discs, voice transmission (video telephony), and television broadcasting.


  • WebM = WebM file uses VP8 video codec and Vorbis audio codec

    WebM is proposed by Google and is an open and free media file Format. The WebM video format is actually a new container format developed based on the Matroska (ie MKV) container format, which includes the VP8 video track and the Ogg Vorbis audio track. Google has open sourced its VP8 video encoding technology with a similar BSD license, and Ogg Vorbis is inherently an open format. The WebM standard online video is more open source and based on the HTML5 standard. The WebM project aims to develop high-quality, open video formats for a network that is open to everyone, with a focus on solving the core network user experience of video services. . Google says that the WebM format is quite efficient and should work smoothly on netbooks, tablets, handheld devices, etc.


  • Ogg = Ogg file uses Theora video codec and Vorbis audio codec

Example:


<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
</head>
<body>

<video width="320" height="240" controls autoplay>
  <source src="movie.ogg" type="video/ogg">
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.webm" type="video/webm">
  <object data="movie.mp4" width="320" height="240">
    <embed width="320" height="240" src="movie.swf">
  </object>
</video>

</body>
</html>

Does html5 support wmv format?

[Recommended courses:

HTML5 video tutorial, web front-end

The above is the detailed content of Does html5 support wmv format?. 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