Skip to content

oEmbed #741

Description

@streamich

See the spec: https://oembed.com/

  • Add ability for user to provide a way to retrieve oEmbed information and render that? If no other way works out.

oEmbed (Standard / Protocol)

Spec: https://oembed.com
376 registered providers (YouTube, Twitter, Vimeo, SoundCloud, Flickr, Spotify, etc.)

What it is

An open standard where providers expose an endpoint:

GET https://www.youtube.com/oembed?url=<encoded-url>&format=json

Response:

{
  "type": "video",
  "version": "1.0",
  "title": "Amazing Nintendo Facts",
  "author_name": "ZackScott",
  "provider_name": "YouTube",
  "width": 425,
  "height": 344,
  "html": "<iframe ...></iframe>",
  "thumbnail_url": "https://i.ytimg.com/vi/..."
}

Response types: photo, video, link, rich.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions