I\'m trying to determine what is the most efficient way to load videos into a on a user click using jQuery.
To give more context behind this, I\'ll have about 30 clips
you can add the URL to your Href and get it in the call Something Like:
In your HTML:
Now in your JQuery:
$('.vid_trigger').click( function(e){ e.preventDefault(); var URL = $(this).attr('href'); var htm = ''; $('#video_container').html(htm); return false; });