this post was submitted on 13 Sep 2024
29 points (100.0% liked)
News from fediverse
0 readers
1 users here now
founded 10 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@[email protected] what will happen with previously embedded posts? They'll contain the "old code" with an iframe.
@[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!
@[email protected] 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 ;-)
@[email protected] 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.
@[email protected] 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!
@[email protected] Old embeds still work ;-)
@[email protected] Great! Did you also try the new embed, something from mastodon.social?
@[email protected] Nope. If I find a post, I'll test.
@[email protected] Thank you! No rush. It should work and look exactly the same way as with iframes.
@[email protected] Anyway, will have to wait for it to work.
My instance is still 4.2.10, so it doesn't seem to work well...
@[email protected] 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 @[email protected]
@[email protected] @[email protected] it should still work with the old-style iframe code but with the post URL substituted in (on the Wordpress side)
@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.
@[email protected] @[email protected] 👀 thanks for submitting!
@[email protected] @[email protected] No problem!
@[email protected] thx