Monday, April 23, 2012

[YouTube-API] Re: Load YouTube by script tag - Error

Hello Jonathan,

Please see https://groups.google.com/group/youtube-api-gdata/browse_thread/thread/74be6da5864a75d2

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Apr 21, 8:48 am, Jonathan Burger <jonathanburge...@gmail.com>
wrote:
> When a feed is loaded via script tag and a error happens, the response is
> plain text.
> Example:http://gdata.youtube.com/feeds/api/videos/zkZBEnBjOjY?callback=jsonp1...
>
> The response is: "Video not found." The script can not be loaded and error
> handling can only be done with tricks.
>
> Why not doing something like this? jsonp1335008664824({"error": "Video not
> found"})

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment