# Struggling with id "video"

**URL:** <https://forum.freecodecamp.org/t/struggling-with-id-video/275412>\
**Category:** General\
**Created:** [May 4, 2019, 5:31pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412 "2019-05-04T17:31:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bulgaria](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@Bulgaria](https://forum.freecodecamp.org/u/Bulgaria)\
**Post date:** [May 4, 2019, 5:31pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/1 "2019-05-04T17:31:41Z")

</div>

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](https://codepen.io/Bulgaria/pen/bybQyR)

---

<div class="post-metadata">

**Author:** ![tkhquang](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/tkhquang/32/107686_2.png) [@tkhquang](https://forum.freecodecamp.org/u/tkhquang)\
**Post date:** [May 4, 2019, 7:54pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/2 "2019-05-04T19:54:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Bulgaria](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@Bulgaria](https://forum.freecodecamp.org/u/Bulgaria)\
**Post date:** [May 6, 2019, 4:45pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/3 "2019-05-06T16:45:22Z")

</div>

@tkhquang:

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

[https://codepen.io/Bulgaria/pen/bybQyR](https://codepen.io/Bulgaria/pen/bybQyR)

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

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [May 6, 2019, 5:10pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/4 "2019-05-06T17:10:16Z")

</div>

@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](https://www.w3schools.com/html/html_youtube.asp)

Or as suggested you can click on the video and get the ‘copy embed code’

---

<div class="post-metadata">

**Author:** ![EliteCobra](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/elitecobra/32/115159_2.png) [@EliteCobra](https://forum.freecodecamp.org/u/EliteCobra)\
**Post date:** [May 6, 2019, 5:15pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/5 "2019-05-06T17:15:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bulgaria](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@Bulgaria](https://forum.freecodecamp.org/u/Bulgaria)\
**Post date:** [May 6, 2019, 5:24pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/6 "2019-05-06T17:24:40Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Bulgaria](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@Bulgaria](https://forum.freecodecamp.org/u/Bulgaria)\
**Post date:** [May 6, 2019, 5:28pm UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/7 "2019-05-06T17:28:04Z")

</div>

It´s solved! 🙂

Thank you, sir´s!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 9:50am UTC](https://forum.freecodecamp.org/t/struggling-with-id-video/275412/8 "2021-01-17T09:50:45Z")

</div>

Closed on January 17, 2021, 9:50am UTC


