Bootstrap Light Box Vimeo URL fix – PHP

When it comes down to use a great Lightbox to extends Bootstrap, my favourite is https://github.com/ashleydw/lightbox which is really easy to extend and just plain good. But when it comes to use vimeo videos url, there is a catch. You can’t use the normal video URL, there for I wrote this little function.

It gets the job done, performing really fast at ~76ms per interaction and returning what we actually need to use this great bootstrap plugin.

 
 
 

Leave a Reply

Your email address will not be published.