Ghost/ghost/oembed-service
Kevin Ansfield 3bc5eb8cf9
🐛 Fixed Bluesky URLs creating bookmarks rather than embeds (#20435)
closes https://github.com/TryGhost/Ghost/issues/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
2024-06-20 20:41:24 +00:00
..
lib 🐛 Fixed Bluesky URLs creating bookmarks rather than embeds (#20435) 2024-06-20 20:41:24 +00:00
test 🐛 Fixed Bluesky URLs creating bookmarks rather than embeds (#20435) 2024-06-20 20:41:24 +00:00
.eslintrc.js
index.js
package.json Update TryGhost packages 2024-05-27 16:58:32 +02:00
README.md

Oembed Service

Oembed service for Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests