Twitter embed inconsistent for x.com URLs in comments #91428
Labels
[Feature] Core Blocks
Blocks that come with Gutenberg.
[Feature Group] Editor Experience
Features related to Gutenberg integration on WordPress.com.
Needs triage
Ticket needs to be triaged
[Platform] Simple
[Pri] Low
Address when resources are available.
[Product] WordPress.com
All features accessible on and related to WordPress.com.
[Type] Bug
Quick summary
No response
Steps to reproduce
What you expected to happen
To embed the post in comments, as shown here with the Twitter URL:
https://twitter.com/elonmusk/status/1797641611335315523
What actually happened
There are a few instances that work and some that don't. FYI, for twitter.com URLs, none of the methods below occurred an issue.
1. Pasting the URL (doesn't work)
Pasting the x.com URL in a blank row pastes the link as a text URL. Twitter.com URLs automatically generate an embed, as shown in the second try of the video below.
CleanShot.2024-06-03.at.12.31.23.mp4
2. Typing /twitter and pressing enter (doesn't work)
When adding the block by typing
/twitter
and pressing Enter (without clicking on the "Twitter" block), entering the x.com URL in the replaces the Twitter block with a Paragraph block and enters the URL as a text link.CleanShot.2024-06-03.at.12.27.06.mp4
3. Clicking on "+" to add Twitter block (works after clicking "Try again")
When using the "+" icon, x.com URLs are prompted with a "Try again" button, which works after clicking. There is no issue when using a twitter.com URL.
CleanShot.2024-06-03.at.12.35.28.mp4
However, on some sites, this method does not work and results in a text URL instead.
CleanShot.2024-06-03.at.12.43.59.mp4
Sometimes, the URL is switched from x.com to twitter.com but it still doesn't embed after clicking on "Try again"
CleanShot.2024-06-03.at.12.57.49.mp4
Impact
Some (< 50%)
Available workarounds?
Yes, easy to implement
Platform (Simple and/or Atomic)
Simple
Logs or notes
No response
The text was updated successfully, but these errors were encountered: