-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathvideoTag.html
More file actions
16 lines (12 loc) · 560 Bytes
/
videoTag.html
File metadata and controls
16 lines (12 loc) · 560 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!--Learning how to embed video in the html files-->
<!--
video tag says that it is a vido
control attribute - Gives the controls to the video (like play, pause, volume up/down)
height attribute - Gives the height to the video
width attribute - Gives the width to the video
source tag tell the location of the video
src attribute - the link to the video file goes here
-->
<video controls height="20vh" weidth="50vw">
<source src="https://interactive-examples.mdn.mozilla.net/media/example/flower.webm">
</video>