Tuesday, March 13, 2012

[YouTube-API] Re: How can i know if video link video requested does not allow playback in the embedded players before playing

Hello,

Some of the logic behind these errors is implemented at runtime
depending on the hosting environment. Some of the logic is reflected
in the YouTube Data API response for a specific video.

This blog post goes into more detail about various playback
restrictions:

http://apiblog.youtube.com/2011/12/understanding-playback-restrictions.html

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


On Mar 11, 11:00 am, umen <meiry...@gmail.com> wrote:
> I have embedded player that implemented in localhost server on port
> 7777>
> i noticed that sometimes when i play video im getting error 150 that
> according to the documentation its :
>
> The 101 error code is broadcast when the video requested does not
> allow playback in the embedded players.
> The error code 150 is the same as 101, it's just 101 in disguise!
>
> ok so can i just check with the api before i play the video if its 150
> or 101 or what ever ?
> Thanks

--
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