I saw tiktok, reels and spotify incorporated in some forums made by Discourse, but mine does not, what do I have to do to incorporate?
see this
spotify
reels
tiktok
xebiyen is seeking help to embed TikTok, Instagram Reels, and Spotify content into their Discourse forum, noting they can’t find documentation. Canapin explains that Spotify requires using its “embed track” feature and adding https://open.spotify.com/ to allowed iframes. For TikTok and Instagram Reels, standard embed codes use <script> and <blockquote> elements, which Discourse doesn’t allow by default, and onebox support is currently unavailable. However, Canapin provides a workaround for TikTok using an iframe URL (e.g., https://www.tiktok.com/embed/v2/VIDEO_ID) and links to relevant Meta Discourse threads discussing TikTok support and Instagram Reels. xebiyen had previously noted the lack of available documentation, to which Canapin suggests using the site’s search function to find these resources.
do i have to activate something?
worse than that I can’t find anything about it
For Spotify, you need to use their share → embed track → copy feature and indeed add https://open.spotify.com/ in your allowed iframes.
Tiktok and IG reels share codes use a blockquote along a <script> elements, so it won’t work straightforwardly as script tags aren’t allowed in posts.
I also suppose Discourse’s onebox doesn’t support them yet.
I don’t know if there are any working iframe links that could display them.
Did you use the search? I quicky found those:
Tiktok embedding is discussed here:
You can embed tiktok video like this:
For example, for https://www.tiktok.com/@mobsao/video/7181493818871565574
<iframe src="https://www.tiktok.com/embed/v2/7181493818871565574" height="800" width="400">
Instagram reels embedding is discussed here: