oembed

Screen_shot_2010-09-05_at_20

Easily embeds content like YouTube videos, Flickr photos and much more by URL.

For a list of all supported providers see http://api.embed.ly/

Simply write to get the default representation of the resource that is sent by the provider.

Use the expanded form to access metadata about the object.
Full-featured Example:


<r:oembed url="http://vimeo.com/14592941" maxwidth="720">
  <r:thumbnail />
  <div class="video" style="display:none;"><r:html /></div>
  <a href="http://vimeo.com/14592941&gt;&lt;r:title" /></a>
  by <a href="<r:author_url />"><r:author_name /></a>
  on <a href="<r:provider_url />"><r:provider_name /></a>
  <h3>Description:</h3>
  <p><r:description /></p>
</r:oembed>
Author Gerrit Kaiser
Website http://github.com/gerrit/radiant-oembed-extension
Repository git://github.com/gerrit/radiant-oembed-extension.git
Download http://github.com/gerrit/radiant-oembed-extension/zipball/master
Supports Radiant 0.9.edge
Record Created September 5, 2010 (about 7 years ago)

Installation

At the command prompt, in the root of your Radiant project, type:

script/extension install oembed

depends on the ruby-oembed gem

sudo gem install ruby-oembed