Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fixed Bluesky URLs creating bookmarks rather than embeds #20435

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

kevinansfield
Copy link
Member

@kevinansfield kevinansfield commented Jun 20, 2024

closes #20028

It's fairly common practice for oembed providers to skip some of the "required" fields from the oembed spec such as height when it doesn't make sense for the embeddable content, this was the case with Bluesky embeds which return height: null

  • removed validation for height being present in the response for it to be recognised as an embed because we don't use it anywhere and the validation is blocking otherwise valid embeds

@kevinansfield kevinansfield changed the title fix bluesky embeds 🐛 Fixed Bluesky URLs created bookmarks rather than embeds Jun 20, 2024
@kevinansfield kevinansfield changed the title 🐛 Fixed Bluesky URLs created bookmarks rather than embeds 🐛 Fixed Bluesky URLs creating bookmarks rather than embeds Jun 20, 2024
closes TryGhost#20028

It's fairly common practice for oembed providers to skip some of the "required" fields from the oembed spec such as `height` when it doesn't make sense for the embeddable content, this was the case with Bluesky embeds which return `height: null`

- removed validation for `height` being present in the response for it to be recognised as an embed because we don't use it anywhere and the validation is blocking otherwise valid embeds
@kevinansfield kevinansfield enabled auto-merge (squash) June 20, 2024 20:33
@kevinansfield kevinansfield merged commit 3bc5eb8 into TryGhost:main Jun 20, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Bluesky oEmbed auto-discovery
1 participant