【问题标题】:List of oEmbed providersoEmbed 提供商列表
【发布时间】:2010-02-02 14:26:30
【问题描述】:

我正在尝试找出所有 oEmbed 提供商。我去了 oEmbed 规范网站,他们有一些,但我发现了一些其他没有指定的,比如 5 分钟视频:

Provider: 5min
URL scheme: http://www.5min.com/video/*
API Endpoint: http://api.5min.com/oembed.{format}
Docs: http://www.5min.com/APIDocs/Embed.aspx

没有什么比在 StackOverflow 中向开发者社区询问更好的了。

【问题讨论】:

  • 请注意,5min 使用 max_width 和 max_height 而不是标准的 maxwidth 和 maxheight 参数。

标签: oembed


【解决方案1】:

Embedly 看起来收藏不错:http://api.embed.ly/

【讨论】:

    【解决方案2】:

    oohembed.com 域最近被 Embed.ly 收购,但代码仍然是开源的,endpoints json 仍然可以在这里找到:http://code.google.com/p/oohembed/source/browse/app/provider/endpoints.json

    【讨论】:

    【解决方案3】:

    embed.ly 似乎不再提供公开的 oembed 提供商列表。因此,我目前正在编译我自己的:https://github.com/panzi/OembedEndpoints 我已经添加了一些提供程序,但接下来我将查看 embed.ly 支持的服务并添加所有实际具有 oembed 端点的服务(并且没有刚刚被 embed.ly 包裹)。

    【讨论】:

    • 这是一个不错的列表(比 oohembed 更好),但自 2013 年以来一直没有更新。
    • There has 从那以后是一个小更新。
    【解决方案4】:

    http://noembed.com/providers

    [{
        "patterns": ["http://(?:www\\.)?xkcd\\.com/\\d+/?"],
        "name": "XKCD"
    }, {
        "patterns": ["https?://soundcloud.com/.*/.*"],
        "name": "SoundCloud"
    }, {
        "patterns": ["http://(?:www\\.)?flickr\\.com/.*"],
        "name": "Flickr"
    }, {
        "patterns": ["http://www\\.ted\\.com/talks/.+\\.html"],
        "name": "TED"
    }, {
        "patterns": ["http://(?:www\\.)?theverge\\.com/\\d{4}/\\d{1,2}/\\d{1,2}/\\d+/[^/]+/?$"],
        "name": "The Verge"
    }, {
        "patterns": ["http://.*\\.viddler\\.com/.*"],
        "name": "Viddler"
    }, {
        "patterns": ["https?://(?:www\\.)?wired\\.com/[^/]+/\\d+/\\d+/[^/]+/?$"],
        "name": "Wired"
    }, {
        "patterns": ["http://www\\.theonion\\.com/articles/[^/]+/?"],
        "name": "The Onion"
    }, {
        "patterns": ["http://yfrog\\.com/[0-9a-zA-Z]+/?$"],
        "name": "YFrog"
    }, {
        "patterns": ["https?://(?:www.)?skitch.com/([^/]+)/[^/]+/.+", "http://skit.ch/[^/]+"],
        "name": "Skitch"
    }, {
        "patterns": ["https?://(alpha|posts|photos)\\.app\\.net/.*"],
        "name": "ADN"
    }, {
        "patterns": ["https?://gist\\.github\\.com/(?:[-0-9a-zA-Z]+/)?([0-9a-fA-f]+)"],
        "name": "Gist"
    }, {
        "patterns": ["https?://www\\.(dropbox\\.com/s/.+\\.(?:jpg|png|gif))", "https?://db\\.tt/[a-zA-Z0-9]+"],
        "name": "Dropbox"
    }, {
        "patterns": ["https?://[^\\.]+\\.wikipedia\\.org/wiki/(?!Talk:)[^#]+(?:#(.+))?"],
        "name": "Wikipedia"
    }, {
        "patterns": ["http://www.traileraddict.com/trailer/[^/]+/trailer"],
        "name": "TrailerAddict"
    }, {
        "patterns": ["http://lockerz\\.com/[sd]/\\d+"],
        "name": "Lockerz"
    }, {
        "patterns": ["http://trailers\\.apple\\.com/trailers/[^/]+/[^/]+"],
        "name": "iTunes Movie Trailers"
    }, {
        "patterns": ["http://bash\\.org/\\?(\\d+)"],
        "name": "Bash.org"
    }, {
        "patterns": ["http://arstechnica\\.com/[^/]+/\\d+/\\d+/[^/]+/?$"],
        "name": "Ars Technica"
    }, {
        "patterns": ["http://imgur\\.com/gallery/[0-9a-zA-Z]+"],
        "name": "Imgur"
    }, {
        "patterns": ["http://www\\.asciiartfarts\\.com/[0-9]+\\.html"],
        "name": "ASCII Art Farts"
    }, {
        "patterns": ["http://www\\.monoprice\\.com/products/product\\.asp\\?.*p_id=\\d+"],
        "name": "Monoprice"
    }, {
        "patterns": ["https?://(?:[^\\.]+\\.)?youtube\\.com/watch/?\\?(?:.+&)?v=([^&]+)", "https?://youtu\\.be/([a-zA-Z0-9_-]+)"],
        "name": "YouTube"
    }, {
        "patterns": ["https?://github\\.com/([^/]+)/([^/]+)/commit/(.+)", "http://git\\.io/[_0-9a-zA-Z]+"],
        "name": "Github Commit"
    }, {
        "patterns": ["https?://open\\.spotify\\.com/(track|album)/([0-9a-zA-Z]{22})"],
        "name": "Spotify"
    }, {
        "patterns": ["https?://path\\.com/p/([0-9a-zA-Z]+)$"],
        "name": "Path"
    }, {
        "patterns": ["http://www.funnyordie.com/videos/[^/]+/.+"],
        "name": "Funny or Die"
    }, {
        "patterns": ["http://(?:www\\.)?twitpic\\.com/([^/]+)"],
        "name": "Twitpic"
    }, {
        "patterns": ["https?://www\\.giantbomb\\.com/videos/[^/]+/\\d+-\\d+/?"],
        "name": "GiantBomb"
    }, {
        "patterns": ["http://(?:www\\.)?beeradvocate\\.com/beer/profile/\\d+/\\d+"],
        "name": "Beer Advocate"
    }, {
        "patterns": ["http://(?:www\\.)?imdb.com/title/(tt\\d+)"],
        "name": "IMDB"
    }, {
        "patterns": ["http://cl\\.ly/(?:image/)?[0-9a-zA-Z]+/?$"],
        "name": "CloudApp"
    }, {
        "patterns": ["http://www\\.hulu\\.com/watch/.*"],
        "name": "Hulu"
    }, {
        "patterns": ["https?://(?:www\\.)?twitter\\.com/(?:#!/)?[^/]+/status(?:es)?/(\\d+)/?$", "http://t\\.co/[a-zA-Z0-9]+"],
        "name": "Twitter"
    }, {
        "patterns": ["https?://(?:www\\.)?vimeo\\.com/.+"],
        "name": "Vimeo"
    }, {
        "patterns": ["http://www\\.amazon\\.com/(?:.+/)?[gd]p/(?:product/)?(?:tags-on-product/)?([a-zA-Z0-9]+)", "http://amzn\\.com/([^/]+)"],
        "name": "Amazon"
    }, {
        "patterns": ["http://qik\\.com/video/.*"],
        "name": "Qik"
    }, {
        "patterns": ["http://www\\.rdio\\.com/#/artist/[^/]+/album/[^/]+/?", "http://www\\.rdio\\.com/#/artist/[^/]+/album/[^/]+/track/[^/]+/?", "http://www\\.rdio\\.com/#/people/[^/]+/playlists/\\d+/[^/]+"],
        "name": "Rdio"
    }, {
        "patterns": ["http://www\\.slideshare\\.net/.*/.*"],
        "name": "SlideShare"
    }, {
        "patterns": ["http://imgur\\.com/([0-9a-zA-Z]+)$"],
        "name": "Imgur"
    }, {
        "patterns": ["https?://instagr(?:\\.am|am\\.com)/p/.+"],
        "name": "Instagram"
    }, {
        "patterns": ["http://www\\.twitlonger\\.com/show/[a-zA-Z0-9]+", "http://tl\\.gd/[^/]+"],
        "name": "Twitlonger"
    }, {
        "patterns": ["https?://vine.co/v/[a-zA-Z0-9]+"],
        "name": "Vine"
    }, {
        "patterns": ["http://www\\.urbandictionary\\.com/define\\.php\\?term=.+"],
        "name": "Urban Dictionary"
    }, {
        "patterns": ["http://picplz\\.com/user/[^/]+/pic/[^/]+"],
        "name": "Picplz"
    }, {
        "patterns": ["https?://(?:www\\.)?twitter\\.com/(?:#!/)?[^/]+/status(?:es)?/(\\d+)/photo/\\d+(?:/large|/)?$", "https?://pic\\.twitter\\.com/.+"],
        "name": "Twitter"
    }]
    

    【讨论】:

    【解决方案5】:

    Embed.ly 在 oEmbed 标准中封装了许多网站的 API。并非所有这些网站都支持 OEmbed。

    【讨论】:

      【解决方案6】:

      http://oembed.com 列出了一些提供商并提供了一个更全面的列表的链接:http://oembed.com/providers.json

      【讨论】:

        【解决方案7】:

        这个项目值得注意:https://github.com/itteco/iframely。它是现代的、维护的,并通过https://iframely.com 提供 SaaS 托管的 API 选项。

        【讨论】:

          【解决方案8】:

          embedo 做到了这一点,它的轻量级和简单的 api。你可以试试看你的情况https://shobhitsharma.github.io/embedo

          【讨论】:

            猜你喜欢
            • 1970-01-01
            • 1970-01-01
            • 1970-01-01
            • 2023-01-14
            • 2016-10-24
            • 2012-02-22
            • 2011-10-10
            • 1970-01-01
            • 2017-06-12
            相关资源
            最近更新 更多