I am making a JSONp call to youtube using oembed and on response firebug gives "invalid label" error
Here is my code
site = "www.youtube.com";
url = "http://www.youtube.com/watch?v=slORb622ZI8";
$.getJSON("http://"+site+"/oembed?callback=?",{"format":"json","url":url},function(data){
alert("hello:\n"+data);
alert(data.provider_url);
});
Anyone ran into similar problem with oembed jsonp requests?