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

News from fediverse

0 readers
22 users here now

founded 8 months ago
 

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
[–] [email protected] 1 points 6 days ago (18 children)

Okay, looking at the new embed code more closely, this is...something else.

[–] [email protected] 1 points 6 days ago (15 children)

@[email protected] what will happen with previously embedded posts? They'll contain the "old code" with an iframe.

[–] [email protected] 1 points 6 days ago (14 children)

@[email protected] Any existing embeds will continue to work, including from mastodon.social.

Basically, the plugin will check for the server and post ID from the iframe, and then fetches the status.

Updating the plugin to work with blockquotes should be fairly straightforward, I just need to find the time.

Will keep you posted!

load more comments (13 replies)
load more comments (15 replies)