# Embed youtube video into Details/Summary Tag

**URL:** https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166
**Category:** Support
**Created:** [20 באוגוסט,‏ 2018,‏ 9:18am UTC](https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166 "2018-08-20T09:18:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Michal](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@Michal](https://meta.discourse.org/u/Michal)
#### Post date: [20 באוגוסט,‏ 2018,‏ 9:18am UTC](https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166/1 "2018-08-20T09:18:41Z")

</div>

Is there any way how to embed video into details/summary tag? Outside details/summary tag, I can easily paste a youtube link and youtube video loads. If I try it inside tags above, video remains just a link.

Can you please help me with this issue? Thanks

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [21 באוגוסט,‏ 2018,‏ 12:15am UTC](https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166/2 "2018-08-21T00:15:42Z")

</div>

Sorry, do you mean this?

```plaintext
<details>

https://www.youtube.com/watch?v=5ndj6xn2P0c

</details>

```

> ****
>
> [![](https://global.discourse-cdn.com/meta/original/3X/8/a/8af368f965ead5ec0a2bbdd6f87fea6613c3a283.jpeg "Rod Stewart & A$AP Rocky Carpool Karaoke") ](https://www.youtube.com/watch?v=5ndj6xn2P0c)

I see, yeah we disallow this, there is no way to do this at the moment…

@techAPJ is there a simple fix here, the HTML looks right ?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [21 באוגוסט,‏ 2018,‏ 8:58am UTC](https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166/3 "2018-08-21T08:58:25Z")

</div>

Fixed via:

[https://github.com/discourse/discourse/commit/7cbf2c182f8683abdf29fcfc10b8cb68f7c298ac](https://github.com/discourse/discourse/commit/7cbf2c182f8683abdf29fcfc10b8cb68f7c298ac)

I tested the fix on latest Firefox, Chrome and Safari on macOS and it works as expected. Since it’s a simple CSS change it will work on your test post @sam.

Thanks for reporting this issue @Michal. 👍

---

<div class="post-metadata">

### Author: ![Michal](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@Michal](https://meta.discourse.org/u/Michal)
#### Post date: [21 באוגוסט,‏ 2018,‏ 11:45am UTC](https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166/4 "2018-08-21T11:45:10Z")

</div>

It works like a miracle. Thank you

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [21 באוגוסט,‏ 2018,‏ 8:40pm UTC](https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166/5 "2018-08-21T20:40:12Z")

</div>


