The parameter passed in to onStateChange is supposed to be an Object. The "data" property of that object is an int that represents the state.
https://developers.google.com/youtube/iframe_api_reference#onStateChange
Cheers,
-Jeff Posnick, YouTube API Team
apiblog.youtube.com | Google+: http://goo.gl/bZflZ
On Saturday, June 23, 2012 11:52:58 AM UTC-4, kina99 wrote:
html5 embed. in my onStateChange callback function i get an object instead of an int.Please help !
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/qmPErtJXOnoJ.
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