Hi all,
I'm trying to configure my script to allow the user to click a thumbnail, which will pop up the corresponding video in a lightbox. In order to grab the unique id of the link, i assigned an attribute (title) to the link and wanted to use jQuery to set it to a var and pass it into the url for jw.
<script type="text/javascript">
$(document).ready(function() {
$(".inline").click(function(){
var videoTitle = $(this).attr("title");
return false;
});
});
</script>
so somehow i need to send my variable videoTitle and insert it in the jw flashvar "file" so it looks something like this
so.addVariable('file','http://www.coldopenmedia.com/vid/emp/' + file + '.flv');i'm pretty new at this, so any help is appreciated. thanks!
Try JW Box!
http://www.longtailvideo.com/support/tutorials/JW-Player-Lightbox