Youtube videos in Fancybox modal window
-
I have a video index page with 20+ videos, so embedding each video directly into the page is not practical. Instead I present a list of thumbnails which launch the video in a Fancybox powered iframe modal window. The implementation in my loop looks like this:
<a class="fancybox-iframe" href="http://www.youtube.com/embed/<?php echo $vid_id[0]; ?>?rel=0&autoplay=1"><img src="http://img.youtube.com/vi/<?php echo $vid_id[0]; ?>/2.jpg" alt="" width="95" height="90" /></a>
As such I can’t take advantage of the myCred video shortcode to award points for viewing the videos. Is their another option or workaround I can implement to award the points?
Thanks for the great plugin!
- The topic ‘Youtube videos in Fancybox modal window’ is closed to new replies.