oembed icon indicating copy to clipboard operation
oembed copied to clipboard

Providers must specify one or more URL scheme and API endpoint pairs

Open Riuujin opened this issue 10 years ago • 6 comments

From what I understand this means that all providers must specify these, yet for YouTube (and some others) I don't see any scheme url's. Am I missing something here or is the http://oembed.com/providers.json simply incomplete?

Riuujin avatar Sep 23 '15 10:09 Riuujin

yeah, it seems like these are just missing. the youtube examples indicate the scheme partially, but i'm not sure what is covered: https://github.com/iamcal/oembed/blob/master/providers.yml

iamcal avatar Oct 06 '15 22:10 iamcal

I dont know why this hasnt been fixed for almost 1½ freaking years. the list is pretty incomplete.

Is this project still alive?

gotwig avatar Apr 25 '17 09:04 gotwig

There's not really any need - most providers (including YouTube) just use the discovery link tags

iamcal avatar May 09 '17 04:05 iamcal

If one is to find links in content and replace them with the html from the oEmbed response wouldn't that require a complete list of schemes? As far as I understand WordPress and Drupal keeps their own providers and schemes lists for this purpose.

Otherwise one would have to call every link one find to get the tag info, and then call the endpoint to get the result? Or am I missing something in my understanding of how this works?

raae avatar Jul 25 '18 14:07 raae

Would you @iamcal be interested if I made a pull request with fixes to the provider list? I think it would be nice to have a complete list as possible.

raae avatar Mar 19 '19 15:03 raae

Most consumers of oEmbed use discovery, which does not require a registry. While I still merge registry update pull requests, it's not necessary that they be correct.

With that said, I'll happily accept any pull requests that update the provider registry.

iamcal avatar May 06 '19 01:05 iamcal