Opened 5 years ago
Last modified 5 years ago
#54414 new enhancement
Support embedding Mobile Twitter URLs
| Reported by: | dpcalhoun | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Embeds | Version: | 5.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
When embedding a mobile variant of a Tweet URL, the Gutenberg Embed block considers the URL to be an invalid embed.
Steps to Reproduce
- Add an Embed block via the web or native mobile Gutenberg block editor.
- Set the Embed block URL to a mobile Twitter URL: https://mobile.twitter.com/rauchg/status/807626710350839808
- Save the Embed block settings, persisting the URL.
Expected Result
The Embed block displays a preview of the Tweet as an embed.
Actual Result
The Embed block marks the URL as invalid, resulting in a error message or a plain text URL.
Related
- Gutenberg Issue
- Relevant oembed code
- oEmbed API response message:
{ "code": "oembed_invalid_url", "message": "Not Found", "data": { "status": 404 } }
Environment
- WordPress: 5.8.1
- Theme: Twenty Twenty-One
- Plugins: none
- Browser: macOS Safari 15.1
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)