//need help -why the video isn't running ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

//need help -why the video isn't running ?

i have used <iframe> but why the yt video is not running? can you gys pls answer... https://code.sololearn.com/WAJyE6ZOsp1x/?ref=app

19th Oct 2017, 7:05 AM
Abhi DG
Abhi DG - avatar
4 Answers
+ 7
You have to modify the url of the youtube video you want to embed in the iframe, not just use the copied-pasted one from th adresse of the page: <iframe src="https://youtube.com/embed/RmXwcHCLmQ4"></iframe>
19th Oct 2017, 7:43 AM
visph
visph - avatar
+ 3
tnamks to everybody.
19th Oct 2017, 12:41 PM
Abhi DG
Abhi DG - avatar
+ 2
//u should addlink of youtube as show in the code.This works: https://code.sololearn.com/WinKag7U5fUT/?ref=app
19th Oct 2017, 7:43 AM
Siva Shankar
Siva Shankar - avatar
0
instead of adding in YouTube videos, why don't you use videos off the computer itself, grab the video off YouTube itself and embedded it all throught folders allowing easy access and not having to worry about issues that come up with the site you use for the video, so incase the video gets flagged off or removed, your site can still show the video. but it's just a suggestions.
19th Oct 2017, 8:55 AM
Tristen Alexander Diaz
Tristen Alexander Diaz - avatar