EditLive! 9 Documentation : Using a Media Aggregator Service

Media aggregator services like embed.ly provide oEmbed support for a broad range of media services.  embed.ly is a commercial media aggregator service that provides oEmbed support for over 250 different services.  A complete listing of supported service providers can be found on embed.ly's site.

It's recommended that media aggregators be provided as a "fallback" service, used to attempt to match URLs for assets that don't match with any other services.  A fallback can be specified by using a scheme using the * wildcard to match all URLs.  

Note

As a scheme of "*" will match all URLs it should be specified at the end of the list of services as services are tried in order until a match is found and "*" will match all URLs. Also, it is only valid to have a single endpoint associated with the "*" scheme.

Example

The following example would ask youtube.com for how to insert YouTube videos, and embed.ly for all other links.

 

<editLive>
   ...
      <mediaSettings>
         ...
            <multimedia>
              <services>
                ...
                <service name="YouTube" endpoint="http://www.youtube.com/oembed" scheme="http://*.youtube.com/*" />
                <service name="Embed.ly" endpoint="http://api.embed.ly/1/oembed?key=<your key here>" scheme="*" />
                ...
              </servies>
            </multimedia>
         ...
      </mediaSettings>
   ...
</editLive>

Configuring for Embed.ly Usage

Embed.ly is a commercial service and a key to access this service can be obtained directly from embed.ly.  This key needs to be specified in as part of the endpoint URL for the Embed.ly service:

<service name="Embed.ly" endpoint="http://api.embed.ly/1/oembed?key=<your key here>" scheme="*" />