Embed youtube video into Details/Summary Tag

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

2 Likes

Sorry, do you mean this?

<details>

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

</details>

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 ?

6 Likes

Fixed via:

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. :+1:

5 Likes

It works like a miracle. Thank you

2 Likes