html5 How to play video: 1. Use the video tag, the syntax ""; 2. Use the embed tag, the syntax " ".

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.
There are many ways to play videos in HTML, of which html5 has two methods:
| Tag | Description |
|---|---|
| Tags define sounds, such as music or other audio streams. | |
| tag defines embedded content, such as plug-ins. |
##Use the
<!DOCTYPE HTML> <html> <body> <video src="/i/movie.ogg" controls="controls"> your browser does not support the video tag </video> </body> </html>
Rendering:
##Use
<!DOCTYPE HTML> <html> <body> <embed src="/i/movie.ogg" /> </body> </html>
Recommended tutorial: "
html video tutorial
The above is the detailed content of How to play video in html5. For more information, please follow other related articles on the PHP Chinese website!
What are the production methods of html5 animation production?
The difference between HTML and HTML5
Top 10 Cryptocurrency Trading Apps
What is the appropriate virtual memory setting?
Word single page changes paper orientation
sort sorting function usage
Photo display time
How to pass value to vue component