Friday, April 27, 2012

[YouTube-API] Error using loadPlaylist

Hi,

I have tried to use youtube api but there is an error using loadPlaylist : result of expression loadPlaylist is not a function [undefined] 

My call : 
ytplayer.loadPlaylist(tabmusiqueselec, 1, 10, "small");

tabmusiqueselec is an array of the different youtube ID of the playlist

At the beginning I though I didn't have the proper link to load all these function :

<script src="http://www.google.com/jsapi" type="text/javascript"></script>

Is that enough to use loadPlaylist ?

I may look stupid here but thank you

--
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/-/yABEiGiwwWQJ.
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