Ajax.VideoBox

Creates a lightbox-like box for youtube videos. It scannes links for rel=”videobox” and replaces them with a javascript method to open up the VideoBox

Wanted a function for some time, ad found one based on mootools. However this didn’t work well for me together with Lightbox2. So I wanted one also created with scriptaculous. There was none, so I wrote my own based on the Lightbox2 code.

Demo

View simple demo here

Todo

  • Support for more video sites like veoh, revver etc.
  • Grouping support with next/prev buttons, just like in Lightbox2
  • Include title, close button and other meta information.

Download

Download the latest version here

One Response to “Ajax.VideoBox”
  1. qaxooti Says:

    this modified code you did, does it work for images and videos?

    also, if it does, how can I implement it on my wordpress based website? How can I make this a plugin to activate on my wordpress page?

    if you can help me, then email me back at arpanmajmundar@gmail.com.

    - Arpan

Leave a Reply

You must be logged in to post a comment.