ashleydw / lightbox

A lightbox gallery plugin for Bootstrap
http://ashleydw.github.io/lightbox
MIT License
1.85k stars 1.3k forks source link

Add ability to set a custom width for Vimeo videos #239

Closed nzphoenix closed 7 years ago

nzphoenix commented 7 years ago

Implemented the same way as Youtube videos check for a custom data-width attribute on the tag. Tested and this appears to work fine. If no width is set, it will fall back to the default of 500 as it was previously.