[Bug 624133] Re: JSONP support for Public Videos API

4 views
Skip to first unread message

Fabricio Campos Zuardi

unread,
Aug 26, 2010, 4:18:20 PM8/26/10
to public...@googlegroups.com
I am working on it! :)

** Changed in: publicvideos
Status: New => In Progress

--
JSONP support for Public Videos API
https://bugs.launchpad.net/bugs/624133
You received this bug notification because you are a member of
Publicvideos Dev Team, which is the registrant for Public Videos.

Status in Public Videos: In Progress

Bug description:
This call to the Public Videos API http://api.publicvideos.org/v/0/clips?callback=foo using jQuery's getJSON method does not return JSONP wrapped in foo(json goes here).

I want to access the API using client side JS only.

Is it possible to use the API strictly from the client side to get JSONP, bypassing cross domain issues?


Fabricio Campos Zuardi

unread,
Aug 26, 2010, 5:08:04 PM8/26/10
to public...@googlegroups.com
fixed on commit
http://github.com/fczuardi/api.publicvideos/commit/cca16f131f096f68e624865616e60e6736fb914c

will update the server soon

** Changed in: publicvideos
Status: In Progress => Fix Committed

--
JSONP support for Public Videos API
https://bugs.launchpad.net/bugs/624133
You received this bug notification because you are a member of
Publicvideos Dev Team, which is the registrant for Public Videos.

Status in Public Videos: Fix Committed

Fabricio Campos Zuardi

unread,
Aug 26, 2010, 5:08:59 PM8/26/10
to public...@googlegroups.com
need to update the wiki documentation as well and maybe do a blog post
announcing when this change goes online

Fabricio Campos Zuardi

unread,
Aug 26, 2010, 5:14:19 PM8/26/10
to public...@googlegroups.com
oops, the fix has a bug :(

Fabricio Campos Zuardi

unread,
Aug 26, 2010, 5:54:10 PM8/26/10
to public...@googlegroups.com
ok, fix is now online!!

test it:

curl http://api.publicvideos.org/clip/2184/?callback=foobar

Reply all
Reply to author
Forward
0 new messages