# Youtube video not rendering in details tag

**URL:** <https://meta.discourse.org/t/youtube-video-not-rendering-in-details-tag/166461>\
**Category:** Bug\
**Tags:** pr-welcome\
**Created:** [October 6, 2020, 11:24pm UTC](https://meta.discourse.org/t/youtube-video-not-rendering-in-details-tag/166461 "2020-10-06T23:24:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evenrue](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/evenrue/32/323901_2.png) [@evenrue](https://meta.discourse.org/u/evenrue)\
**Post date:** [October 6, 2020, 11:24pm UTC](https://meta.discourse.org/t/youtube-video-not-rendering-in-details-tag/166461/1 "2020-10-06T23:24:16Z")

</div>

Trying to do a simple Youtube link in a discourse post and it, as expected, loads a video embed in place. But surround the same link with `[details] [/details]` tags and it goes back to being a basic link.

Is this intended behavior? I did find an older thread that suggested it’s not: [Embed youtube video into Details/Summary Tag](https://meta.discourse.org/t/embed-youtube-video-into-details-summary-tag/95166)

---

<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:** [November 10, 2020, 7:38am UTC](https://meta.discourse.org/t/youtube-video-not-rendering-in-details-tag/166461/2 "2020-11-10T07:38:05Z")

</div>

Testing

> ****
>
> [![](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)

> ****
>
> [https://www.youtube.com/watch?v=5ndj6xn2P0c](https://www.youtube.com/watch?v=5ndj6xn2P0c)

Works in HTML `<details>` does not work in BBCode `[details]`

Marking this a #pr-welcome … very minor and there is a simple workaround which is to use HTML `<details>`
