‹‹ mediajQuery Media Plugin - Misc Demo

Script:
$('a.media').media({width:500, height:400});
Markup:
<script type="text/javascript" src="http://github.com/malsup/media/raw/master/jquery.media.js?v0.92"></script>
<script type="text/javascript" src="jquery.metadata.js"></script>

...

<a class="media" href="guice.pdf">PDF File</a>
<a class="media {type: 'html'}" href="../">HTML File</a>
        
PDF File HTML File