jquery - Lightbox For Youtube Videos -


i'm using lightbox play video when image clicked. can't find tutorial followed of right works perfectly.

here example of code i'm using:

<a href="https://www.youtube.com/watch?v=e5ln4ur4twq?rel=0" data-toggle="lightbox" data-gallery="youtubevideos">   <img src="/img/placeholder.png" alt="pet-owners" width="1600" height="420" class="aligncenter size-full wp-image-23442" /> </a> 

the problem i'm having when video on recommended videos displays. i've been reading have add ?rel=0 end of youtube link , should fix it. realized since method doesn't embed video won't work. ideas should next?

sorry didn't set jsfiddle wasn't sure how load lightbox css , js.

i'm using boostrap 3 . thank you.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -