YouTube - Error 150?

Any of you video player folk ever have this issue?

A video returns error 150 (101) when it can’t be embedded outside of youtube :x

For example, “this video”:http://www.youtube.com/watch?v=xZGcw9HHOkU

Try and copy the embed code into a html doc and execute, it won’t play. It gives you an error :frowning:

“In theird ocs”:https://developers.google.com/youtube/2.0/developers_guide_protocol_api_query_parameters#formatsp they claim that if you use “format” in your query string you can return videos that are embeddable but it doesn’t appear to work, I just get lists of videos that I can’t play. :s :frowning:

Anyone hit this issue before?

MSFX said

Anyone hit this issue before?

I know SME (Sony Music Entertainment) are evil people on YouTube. They block allot of videos all the time from being embedded on tons of sites.

Not sure if the error is that though, but when I try it I get the following error message “This video contains content from SME. It is restricted from playback on certain sites.

Good luck!

thanks for looking. That’s the user friendly version of the error. Their docs just don’t seem to be right which is ding my head in :x

MSFX said

thanks for looking. That’s the user friendly version of the error. Their docs just don’t seem to be right which is ding my head in :x

I just came across this error today for the first time using chromeless player.

Error code means: You’ll receive error 150 when embedding videos that need age verification and for videos that have other restrictions in your country. Playback not allowed in users region or in chromeless player.

http://goo.gl/Txb6i

http://stackoverflow.com/questions/4197316/youtube-150-error-in-air-app