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.
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!