Home

pupunzi edited this page Dec 22, 2010 · 6 revisions
Clone this wiki locally

jquery.mb.mediaEmbedder

This is a jQuery component to easily insert media from Youtube®, Vimeo®, Flickr®, LiveStrem®, Dailymotion®, Ustream® or any MP3 file on your webpages.

mb.mediaEmbedder

go to Demo page
go to blog page
go to download page

Dependencies:

  • none

JS call:


$(function(){
      $.mb_audioEmbedder.playerPath="media/player.swf" //the path to audio player
      $.mb_videoEmbedder.defaults.width=500; //the with of players --> the height is automatically calculated
      $('#example').mb_embedMovies()
      $('#example').mb_mb_embedAudio()
})

HTML constructor:


[vimeo=http://www.vimeo.com/109467]
[youtube=http://www.youtube.com/watch?v=PLs5HN7FS0w]
[flickr=http://www.flickr.com/photos/danielofredorota/3182095499/]
[livestream=http://www.livestream.com/fox8news]
[ustream=http://www.ustream.tv/recorded/2691132]
[audio=http://dl.dropbox.com/u/1976976/linea_gialla.mp3&titles=linea gialla]