Home >Web Front-end >Front-end Q&A >Does html5 support wmv format?
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.
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
Currently, the
Format | MIME-type |
---|---|
video/mp4 | |
video/webm | |
video/ogg |
<!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>[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!