Open jerclarke opened 2 months ago
Hi @jerclarke, I would like to contribute can u assign this task go me ?
@Siddharthgup I have no authority to do anything as far as I know, I'm just a third-degree user of AMP hoping this feature comes to pass.
thanks @jerclarke for opening an issue. This seems pretty easy to implement. We'll triage and look into it
@Siddharthgup please feel free to send out a pull request. will be happy to review.
Description
It seems that embeds from Bluesky don't work in AMP.
To my eye, it looks the embed functions similarly to x.com, with a generic blockquote followed by a
<script>
tag that converts the blockquote.https://bsky.social/about/blog/post-embeds-guide
AFAIK, AMP supports x.com embeds through a custom script or module or whatever, so I suppose the same would be needed for Bluesky.
I'm creating this ticket because I can't find any reference anywhere to this question, and figured I'd start at the source. Bluesky only seems to have added this embed support in April 2024, so it's very recent.
I am using the amp-wp plugin, but my experience in the past was that support for these weird embeds starts at the top, so I figured I'd start here.
Example code:
Alternatives Considered
If it was an
<iframe>
-based embed, I'm pretty sure it would just work, but it's not.I tried it in WordPress both by pasting the code into the HTML editor, and using oEmbed by just pasting the URL. In both cases it worked in my non-AMP version of the site, but not in my legacy AMP template served by the amp-wp plugin.
Additional Context
No response