Advertisement
Guest User

Additional Vimeo code for VideoBox (Mootools) - insert at line 87

a guest
Dec 18th, 2010
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. else if (sLinkHref.match(/vimeo\.com\/i)) {
  2.             this.flash = true;
  3.             var hRef = sLinkHref;
  4.             var videoId = hRef.split('/');
  5.             this.videoID = videoId[3];
  6.             this.so = new SWFObject("http://vimeo.com/moogaloop.swf?clip_id="+this.videoID+"/.swf", "flvvideo", this.options.contentsWidth, this.options.contentsHeight, "0");
  7.             this.so.addParam("wmode", "transparent");
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement