HTML multimedia


Adding videos in HTML

Videos can be added in HTML using tag
<source src="video url" type="video/mp4">
<!DOCTYPE html>
<html>
<head>
<title>
HTML MULTIMEDIA
</title>
</head>
<body>
<video width="500" height="500" controls>
</video>
<source src="video url" type="video/mp4"> </body>
</html>
Similarly Youtube videos can be added.Open youtube video right click on it and select embed video or embed code then copy it.Now paste it in src address place.

Adding audio in HTML

Videos can be added in HTML using tag
<source src="audio url" type="video/mp4">
<audio controls>
<source src="audio url" type="audio/mpeg">
</audio>