Friday, January 20, 2012

[YouTube-API] Re: Iframe api - autostart is not working

Hello,

In an <iframe> API event handler, the target property of the
parameter passed into the event will contain the YT.Player instance
that triggered the event. There's no plan to change that behavior, and
that should be enough for you to uniquely identify the source of a
given event. As I mentioned in the other thread, you should be calling
methods on the YT.Player object rather than attempted to inspect the
object's properties yourself, as those internal properties are subject
to change at any time.

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


On Jan 19, 8:13 pm, quenotacom <webmas...@quenota.com> wrote:
> I resolved the problem derived of the recent change. However to give a
> definitive solution (because you can change again) could it be possible to
> have the structure of the target object related to the events (onready and
> statechange) please ?, it is because as another guy mentioned, i need to
> handle that info, because i have several players and i need to identify
> which one is related to the event.
>
> Thank you very much.
> quenotacom

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