So an interesting change is coming to Mastodon embeds.
So an interesting change is coming to Mastodon embeds.
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
There are definitely benefits of moving away from iframes, as I've discussed on my blog.
https://stefanbohacek.com/project/wordpress-plugin-for-fediverse-embeds/
Also, an important side note, if you're using my Fediverse Embeds WordPress plugin, it will not work with this latest format. I will work on an update...hopefully over this weekend.
5 0 Reply@[email protected] Oooo interesting! Thanks for this!
1 0 Reply
@[email protected] that's interesting I the sense of "what were you thinking?" putting the text in the statically served blockquote is job 0.
https://www.kevinmarks.com/twittereditsyou1 0 Reply@[email protected] Yeah, I think I will withhold any criticism of that, for now.
The topic of quoting people's public social media posts is pretty fascinating to me, and my thoughts might be better expressed in a blog post rather than a series of posts on here. (Especially knowing that some might feel pretty strongly about this topic.)
There is so much to consider, from people's expectations, societal norms, and the technical aspects as well.
1 0 Reply
I've had to "clean up" several WordPress sites that got highjacked by iframe viruses.
1 0 ReplyThat looked like a Zip Disk to me, but I checked a reference photo and I was wrong.
1 0 ReplyOkay, looking at the new embed code more closely, this is...something else.
1 0 ReplyFor comparison, the previous (and on most Mastodon servers, the current) version looked like this.
1 0 Reply@[email protected] it seems presumptive to my old webdev mind to assume all places that allow embeds will allow external js.
Also, seriously, do you expect me to backdoor my own site??
1 0 Reply
@[email protected] what will happen with previously embedded posts? They'll contain the "old code" with an iframe.
1 0 Reply@[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!
1 0 Reply