1
Following
this post I would now like my video opens with the
modal bootstrap.
So I created this code
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel"><{$video.title}></h3> </div> <div class="modal-body"> <p class="center"> <{$video.showvideo}> </p> </div> <div class="modal-footer left"> <{$video.description|truncate:$video.total_chars}> </div> </div>
<{if $video.screen_shot}>
<a href="#myModal" role="button" class="btn" data-toggle="modal"><{$video.videothumb}> </a>
<{/if}>
The problem is that when I have several video in a category, it shows me the same respect, the same video, the same description in the modal
With an idea?
thank you