This is the software that I use: https://github.com/blueimp/Gallery
When I click on a thumbnail that links to a video, I get an error sign.
This is my HTML:
<div id="gallery"> <ul class="thumbnails"> <li class="span12 margin-bottom-0"> <a class="thumbnail center-all" href="http://i.imgur.com/mdqQTPT.jpg" style="max-height: 375px; width: 375px;" data-gallery> <img src="http://i.imgur.com/mdqQTPT.jpg" class="main-image"> </a> </li> </ul> <ul class="thumbnails"> <li class="span6"> <a class="thumbnail center-all" href="https://www.youtube.com/watch?v=zv9jHNwaV2E" style="height: 185px; width: 185px;"> <img src="http://i.imgur.com/mdqQTPT.jpg" class="additional-image"> </a> </li> </ul>
I created JSFiddle: http://jsfiddle.net/HhU4K/
When I manually enter some data to submit to blueimp, the youtube video works great (for example: http://jsfiddle.net/HhU4K/1/ EDIT: it works on my localhost, but apparently just shows a rotating icon on the JSFiddle for me. Hope you guys can see the video, not just the turn indicator.)
When I add a link to a youtube video in the href tag of the <a> tag, it does not work. Any idea what I'm doing wrong?
source share