This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


This addon register the jquery plugin oembed in the Plone resource registry.

Version: 1.1.0 RC

How to use jquery.oembed

Explicit example:

<script type="text/javascript">
$(document).ready(function() {
<div id="container"></div>

Implicit example:

<script type="text/javascript">
        $(document).ready(function() {
<div><a href="" class="oembed">Flickr Image</a></div>
<div><a href="" class="oembed">Vimeo Video</a></div>

Configuring multiple providers example

<script type="text/javascript">
        $(document).ready(function() {
                        embedMethod: "append",
                        maxWidth: 1024,
                        maxHeight: 768,
                        vimeo: { autoplay: true, maxWidth: 200, maxHeight: 200}
<div><a href="" class="oembed">Vimeo Video</a></div>
<div><a href="" class="oembed">Flickr Image</a></div>

Supported OEmbed providers

  • 5min
  • Amazon Product Images
  • Flickr
  • Google Video
  • Hulu
  • Imdb
  • Metacafe
  • Myspace Videos
  • Qik
  • Revision3
  • Screenr
  • Slideshare
  • Twitpic
  • Viddler
  • vVimeo
  • Wikipedia
  • WordPress
  • YouTube

This javascript plugin relays in ‘jsonp’, so only oEmbed providers that support callback methods are directly implemented.

Any other oEmbed provider uses embedly service.

How to manage providers

‘greedy’ option let you activate a fallback service to not natively supported services, by default the service used is oohembed.

allowed providers:

$(".oembed").oembed(null, { allowedProviders: ["flickr", "youtube"] });

custom providers:

$(".oembed").oembed(null, {
    greedy: false,
    customProviders: [{
        "name": "",
        "urlschemes": ["streetfire\\.net\/video\/.*"],
        "apiendpoint": ""

disallowed providers:

$(".oembed").oembed(null, { disallowedProviders: ["flickr", "youtube"] });

default oembed provider:

$(".oembed").oembed(null, {defaultOEmbedProvider: ""});

embeded method


$(".oembed").oembed(null, {embedMethod: "append"});

It append to the .oembed container the result with a container classified:

<a href="..." class="oembed">...</a>
<div class="oembed-container oembed-container-Vimeo">...</div>


$(".oembed").oembed(null, {embedMethod: "fill"});

It fill the link with the results:

<a href="..." class="oembed">


$(".oembed").oembed(null, {embedMethod: "replace"});

It replaces the link with the html snippet

manage size

You can add a size constraint to the html snippet. You can set maxWidth and/or maxHeight:

$(".oembed").oembed(null, {
        maxWidth: 400,
        maxHeight: 300 });





1.0a (2012-01-02)

  • Initial release
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.js.oembed-1.0a.tar.gz (12.2 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting