In this blog we will see how to add video in html, you can do so by following code.
Step 1: Go to notepad and type the following codes given below.
<!DOCTYPE html>
<html>
<body>
<video width="320" height="240" controls>
<source src="video url" type="video/mp4">
<source src="video url" type="video/ogg">
</video>
</body>
</html>
Step 2: Save the file in .html extension and run.
Step 1: Go to notepad and type the following codes given below.
<!DOCTYPE html>
<html>
<body>
<video width="320" height="240" controls>
<source src="video url" type="video/mp4">
<source src="video url" type="video/ogg">
</video>
</body>
</html>
Step 2: Save the file in .html extension and run.
0 comments:
Post a Comment