Home > Web Front-end > H5 Tutorial > What to do if the video in html cannot be played

What to do if the video in html cannot be played

醉折花枝作酒筹
Release: 2021-06-08 15:11:52
Original
7121 people have browsed it

Solution: Just add the video type on the corresponding website iis. Note the formats supported by video: Ogg comes with Theora video encoding and Vorbis audio encoding; MPEG4 comes with H.264 video encoding and AAC audio encoding; WebM comes with VP8 video encoding and Vorbis audio encoding.

What to do if the video in html cannot be played

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

I tried the upload video function today and found that the uploaded video could not be played. When I opened the request address, the following explanation popped up:

Solution:

In Add the video type on the corresponding website iis; as shown in the figure

This is ok, but please pay attention to the formats supported by the 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 files with VP8 video encoding and Vorbis audio encoding

Recommended learning:html video tutorial

The above is the detailed content of What to do if the video in html cannot be played. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template