Skip to content
Linked video won't play
Profile icon
TheDarkSlayer

Hello All,

I am extremely new to coding. I'm teaching myself HTML. I just started my first project on here to practice, and I am trying to add a YouTube video. It appears on the page, but it won't play. I used the video tag, added the URL to the src attribute, and have a closing tag. What am I doing wrong? Halp!

You are viewing a single comment. View All
Answered by CatR3kd [earned 5 cycles]
View Answer
Profile icon
RYANTADIPARTHI

Two things - Either copy embedded code from a video URL by right clicking on the video, or write this code - <source src="", in the file, put your video URL. Or you can hit the dots at the top, and get the video you want from your files, and link it in the src, where I showed the empty string.