• home
  • activity stream
  • contact
Home › Blogs › Markus Thielmann's blog

oEmbed: Represent embedded media

Markus Thielmann — Sat, 2008-05-10

oEmbed is a draft for an multimedia embedding standard.

In short, it's an easy way to discover the type (e.g. video, image) and the dimensions (hight, width) of a multimedia object referenced by a single URL.

So instead of allowing your users to embed (X)HTML and JavaScript into your blog system or forum, you just let them copy a link to it.

While I generally like the idea of having an open standard for such tasks, I really dislike the way oEmbed handles flash videos:

Request:
http://lab.viddler.com/services/oembed/?url=http://www.viddler.com/explore/cdevroe/videos/424/

Response:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="288" id="viddlerplayer-1646c55">
<param name="movie" value="http://www.viddler.com/player/1646c55/"/>
<param name="allowScriptAccess" value="always"/>
<param name="allowFullScreen" value="true"/>
<embed src="http://www.viddler.com/player/1646c55/" width="437" height="288" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddlerplayer-1646c55"/>
</object>

As you may notice, Viddler returns a non-standard HTML-snippet for inclusion with your site. This makes the whole "open standards" approach of oEmbed look a bit strange.

It would have been better to just provide a link to the relevant swf file, instead of injecting some awkward code into the consumers system.

I'm really hoping oEmbed is going to rethink it's response specification, or at least extend it with enough information to provide a base for a (X)HTML conform inclusion of the multimedia content.

  • Multimedia
  • Open Standards
  • Markus Thielmann's blog

Post new comment

The content of this field is kept private and will not be shown publicly.
Input format
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.
  • You can use Mediawiki syntax. It is possible that not all formatting options are supported at the moment.
    Links to other pages: [[Page Title]] or [[path/to/page|Title]].
    External links: http://example.com or [http://example.com some link title].
    Interwiki links: [[site:Page Title]].
    You can use the following interwiki links: path, gdo, wp
    Images are included with [[Image:name]]. (wikipedia help)

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Syndicate content

Markus Thielmann is a Berlin based open source enthusiast and developer. Read more...

Portrait

Tags in Tags

Adobe Firefox Flash Fun Google Marketing Microsoft Music Open Source Ubuntu UbuntuWeblogs Unbelievable
more tags

  • home
  • activity stream
  • contact