How to add videos in web page of sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add videos in web page of sololearn

I cannot be able to add videos in sololearn

17th Jul 2023, 2:20 PM
Prajwal Madivala
Prajwal Madivala - avatar
4 Answers
+ 2
link your code so we can check on it.
17th Jul 2023, 2:26 PM
Lisa
Lisa - avatar
+ 1
Just long press on Youtube video and copy embed code and use in your code.
17th Jul 2023, 4:45 PM
A͢J
A͢J - avatar
+ 1
If you want to add youtube video you need a embed link of that youtuve video. Or if you want to add your own video then you have to add video tag and inside that tah you have to put your video url and video type. Also dont forget to add controld attribute otherwise your video Won't start.
17th Jul 2023, 8:37 PM
JS Nihal
JS Nihal - avatar
+ 1
You can add this code inside the body tag of your HTML. Hope it works. <iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY?autoplay=1&mute=1"> </iframe>
18th Jul 2023, 6:44 AM
EAJUDDIN
EAJUDDIN - avatar