Youtube video not rendering in details tag

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

1 Like

Testing

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>

2 Likes