I noticed that the browser is sending what it seems to be duplicate 
requests, I'm not sure if it's a thing in my code or not:

Here is a sample of the requests:
http://gdata.youtube.com/feeds/api/videos/02HCaj9h8Lo?v=2&alt=json&callback=__gwt_jsonp__.P8.onSuccess
http://gdata.youtube.com/feeds/api/videos/02HCaj9h8Lo?v=2&alt=json&callback=__gwt_jsonp__.P7.onSuccess
http://gdata.youtube.com/feeds/api/videos/02HCaj9h8Lo?v=2&alt=json&callback=__gwt_jsonp__.P6.onSuccess

All with the same exact content!

This is my code for the jsonprequest builder:

public void getVideo(final String url,
final AsyncCallback<YoutubeVideoData> async) {
String reqUrl;
 reqUrl = "http://gdata.youtube.com/feeds/api/videos/"; + id + 
"?v=2&alt=json";

requestBuilder.requestObject(URL.encode(reqUrl),
new AsyncCallback<YoutubeVideoData>() {
public void onFailure(Throwable caught) {
async.onFailure(caught);
}
public void onSuccess(YoutubeVideoData result) {
async.onSuccess(result);
}
});
}

Also, I'm getting this error for including a frame of a different domain:
Unsafe JavaScript attempt to access frame with URL 
http://127.0.0.1:8888/Mobaraty.html?gwt.codesvr=127.0.0.1:9997#AddContentfrom 
frame with URL 
http://www.youtube.com/embed/02HCaj9h8Lo?wmode=transparent&rel=0&autohide=1&showinfo=0.
 
Domains, protocols and ports must match.

I included this in my module file, but it didn't help:
<add-linker name="xsiframe" />

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to