Hi all,
I'm using Oembed for the first time with the Oembed jQuery plugin. Everything is working fine when the page loads, my default video is loaded fine, but when I click on a thumbnail to load another file the new movie isn't loaded. I'm not getting any errors and it doesn't look like anything is being run. Here's the code I am using :
//catch any update links
$("a.video").click(function(event){
event.preventDefault();
video = $(this).attr('href');
alert(video);
$("#embed").oembed(video);
});
The alert is working correctly. Any ideas anyone?
Thanks.