How to add multiple videos | Sololearn: Learn to code for FREE!

+1

How to add multiple videos

Multiple videos syntax in html5

6/17/2021 4:34:48 PM

Micheal Alfred

10 Answers

New Answer

+4

https://code.sololearn.com/WYSSGp9xPHJo/?ref=app

+3

Hi! Just put video links one by one video: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video

+3

Micheal Alfred Use iframe. There is no multiple videos syntax. There is only 1 video tag. You can use different id for each video.

+3

Please, show your code

+3

this code contains a lot of syntax errors, there are no closing tags, the youtube channel does not exist

+1

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1 align="center">THIS IS A VIDEO TAG </h1> <video controls poster=" https://dl.dropbox.com/s/8pjshp9etrkevqv/31qu4ixHZ3L._SY355_.jpg?dl=0" width="400px> <source src=" https://dl.dropbox.com/s/pqg9oqllvl9jlw7/cf048b92278d4173a7a093a80ecc13c9.mp4?dl=0 "> </video> <video controls poster=" https://dl.dropbox.com/s/8pjshp9etrkevqv/31qu4ixHZ3L._SY355_.jpg?dl=0" width="400px> <source src=" https://dl.dropbox.com/s/pqg9oqllvl9jlw7/cf048b92278d4173a7a093a80ecc13c9.mp4?dl=0 "> </video> </body> </html> Ofcourse u can

0

Yaroslav vernigora,I tried using I frame it not working,the iframe will work,but the video will not show

0

And some of the code that is written by someone if I try to view it on my mobile it does not show ,why

0

I will give it a try

0

<!DOCTYPE html> <html> <head> <style> </style> <title>Dynamic</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css"/> <meta charset="UTF-8"> <meta name="viewpoint" content="width=device-width"> </head> <body onload="myFunction()"> <div id="load"><div class="goo"><div class="qdiv"><div class="wdiv"><div class="ediv"><div class="rdiv"></div></div></div></div></div></div> <div class="top"><a href="https://youtube.com/channel/UCU1V9CbNf4jTPShfB0uI0iw"> <i class="fab fa-youtube"></i></a> Dynamic hero<span class="time"><i class="fa fa-search"></i><i class="fa fa-ellipsis-v" aria-hidden="true"></i></span></div> <div class="start"> <div id="Home"> <b><div> HOME</div></b> <b><div CLASS="VIDEO"> VIDEO</div></b> <b><div CLASS="playlist"> PLAYLIST</div></b><i class="fa fa-caret-down"></i> </div> <div class="chup"><img src="https://www.dropbox.com/s/1putcb6pdbhuv8k/IMG-202104