How to add an oembed provider (1 post)

  1. superlou
    Posted 3 years ago #

    I am trying to set up a site where we have to provide a very large archive of video, so I developed a very light oembed provider.

    I've been trying to integrate this with WordPress by adding the provider in a plugin. The provider integrated nicely with Drupal, but fails with Error #1085 (which I think may be a Jplayer error rather then wordpress). An example link is of the form "http://ei.louissimons.com/videos/3%20wanderings" and the oembed url would be "http://ei.louissimons.com/oembed?url=http%3A%2F%2Fei.louissimons.com%2Fvideos%2F3%2520wanderings".

    Should it be as simple as making the following plugin (which currently fails)?

    <plugin descriptive info>
    wp_oembed_add_provider('http://ei.louissimons.com/videos/*', 'http://ei.louissimons.com/oembed');

    Is there a way to print the list of registered providers or a tactic to debug why the oembed is failing?


Topic Closed

This topic has been closed to new replies.

About this Topic