Wednesday, July 11, 2012

Re: [YouTube-API] Re: Chromeless player error when run on local machine (not web)

On Wed, 2012-07-11 at 05:07 -0700, kina99 wrote:
> Hi Tim,
>
> The issue is running the html from a local disk not as an
> online URL .

That explains it.

All the player APIs are only supported when serving from a web server -
I believe this is in the docs for the Actionscript player, but at a
quick glance I can't see it on the docs for the iframe player at the
moment.

This is due to the cross-domain security policies in all web browsers.

Tim


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