Struggling with id "video"

Hey guys,

currently am working on my project. The problem is: The youtube video does not show up on the page. Their should be a problem with the code.

Here it is:

https://codepen.io/Bulgaria/pen/bybQyR

You must use the embed link instead of the one youā€™re linking to

https://www.youtube.com/embed/MvnqAm1gw7c

Actually the easy way for you is to go to the youtube page of the video, click on Share -> Embed.

@tkhquang:

I did exactly what you said, but it still did not work. Look at here:

https://codepen.io/Bulgaria/pen/bybQyR

How can I solve the problem?. Does anyone lelse have an idea?

@Bulgaria, your pen shows you still linking to the video rather than embedding it as suggested.
Hereā€™s a link for you to read up on embedding

Or as suggested you can click on the video and get the ā€˜copy embed codeā€™

I agree with Roma on this, your link is not embeded which is why it wont work, just go to the youtube video>share>Embeded and copy and paste that into your code and it should work

1 Like

Hey @Roma and @EliteCobra

I followed you, but it still doesnĀ“t work. I clicked on the video, cklicked on ā€œshareā€, embeded and did copy and paste that into my codeā€¦ but the problem still exist.

Maybe there is something wrong with my code?

ItĀ“s solved! :slight_smile:

Thank you, sirĀ“s!

2 Likes