30

So an interesting change is coming to Mastodon embeds.

Previously, the embed code consisted of an iframe, going forward, this is being switched to a blockquote.

In either case, the original text of the post is not included and is rather added after the main page the embed is on is loaded.

https://github.com/mastodon/mastodon/pull/31766

#mastodon #embeds #fediverse

you are viewing a single comment's thread
view the rest of the comments
[-] cybeardjm@masto.ai 1 points 3 weeks ago

@stefan@stefanbohacek.online It's for the next release I think, 4.3 or so...
Yeah, wouldn't like to redo all my embeds... Yes I have many ;-)

[-] stefan@stefanbohacek.online 1 points 3 weeks ago

@cybeardjm@masto.ai Yeah, you definitely won't have to do that, the issue is more with wanting to embed posts from any servers running this version of Mastodon.

You will only get the blockquote HTML code, while the plugin looks for iframes, so it just won't do anything.

[-] stefan@stefanbohacek.online 1 points 3 weeks ago

@cybeardjm@masto.ai Alright, I just went ahead and made the necessary update, it didn't require too much effort.

Let me know once you update the plugin!

[-] cybeardjm@masto.ai 1 points 3 weeks ago

@stefan@stefanbohacek.online Old embeds still work ;-)

[-] stefan@stefanbohacek.online 1 points 3 weeks ago

@cybeardjm@masto.ai Great! Did you also try the new embed, something from mastodon.social?

[-] cybeardjm@masto.ai 1 points 3 weeks ago

@stefan@stefanbohacek.online Nope. If I find a post, I'll test.

[-] stefan@stefanbohacek.online 1 points 3 weeks ago

@cybeardjm@masto.ai Thank you! No rush. It should work and look exactly the same way as with iframes.

[-] cybeardjm@masto.ai 1 points 3 weeks ago

@stefan@stefanbohacek.online Anyway, will have to wait for it to work.
My instance is still 4.2.10, so it doesn't seem to work well...

[-] stefan@stefanbohacek.online 1 points 3 weeks ago

@cybeardjm@masto.ai Oh that's interesting, I am able to replicate this as well.

I added a note to https://github.com/mastodon/mastodon/pull/31766#issuecomment-2351041692.

cc @andypiper@macaw.social

[-] andypiper@macaw.social 1 points 3 weeks ago

@stefan@stefanbohacek.online @cybeardjm@masto.ai it should still work with the old-style iframe code but with the post URL substituted in (on the Wordpress side)

[-] stefan@stefanbohacek.online 1 points 3 weeks ago* (last edited 3 weeks ago)

@andypiper @cybeardjm Right, but this is an issue with the UI, the embed code is missing, see the screenshot I added to the GitHub issue.

[-] andypiper@macaw.social 1 points 3 weeks ago

@stefan@stefanbohacek.online @cybeardjm@masto.ai ๐Ÿ‘€ thanks for submitting!

[-] stefan@stefanbohacek.online 1 points 3 weeks ago

@andypiper@macaw.social @cybeardjm@masto.ai No problem!

this post was submitted on 13 Sep 2024
30 points (100.0% liked)

News from fediverse

0 readers
1 users here now

founded 9 months ago