CODE: oEmbed: Testing embedding of links using an "oembed" class on the element and the oembed jQuery plugin. (http://code.google.com/p/jquery-oembed/). To make it work, you need to create link to media file (e.g. YouTube url) and add class="oembed" to the href tag.
oEmbed HTML and Javascript