Front-End/HTML5 + CSS
[HTML5] 7. Multimedia_video
리딩리드
2016. 8. 4. 19:27
Multimedia_video
1. <video>
- The HTML5 <video> element specifies a standard way to embed a video in a web page
Attribute
1) controls : The attribute adds video controls like play, pause, and volume
2) width and height
- If width and height are not set, the browser does not know the size of the video
- The effect will be that the page will change while the video loads
3) Text
- Text between <video> and </video> will only display in browsers that do not support the <video>
4) source
- This can link to different video files. The browser will use the first recognized format