Home  >  Article  >  Web Front-end  >  Use the video element to create a video player in HTML 5

Use the video element to create a video player in HTML 5

零下一度
零下一度Original
2017-05-19 16:48:103521browse

I’ve been reading about html5 recently. The title of the book is "html5&API Web Programming". I made a demo after reading the book. Here I use The video element is very simple. As long as you put the address of the video in the text box and click the play button, the video can be played. When you click to pause, the video will be reloaded. The code is as follows:





简易影片播放器



影片的URL:

2. [Picture] QQ screenshot unnamed.png

Use the video element to create a video player in HTML 5

【Related Recommendation】

1. The solution to the problem that the H5 video tag can only play sound but not video

2. The MIME of IIS has not registered the MP4 type, resulting in the inability to Solution to identify vidoe tag

3. Share examples of HTML5 Banner production

4. Overview of the power and future development of HTML5

5. Introduction to how to use the latest h5 tag datalis

The above is the detailed content of Use the video element to create a video player in HTML 5. 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