Hello,
How are you initializing the "player" variable? It would be ideal if
you could point us to a publicly accessible page running your full
code.
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On May 2, 11:25 am, cheeeze <marcelisod...@gmail.com> wrote:
> Hello.
>
> I would like to create a playlist. I've an array with the youtube id of my
> videos.
>
> I do this but doesn't working :
>
> function loadPlaylist(tabPlaylist)
> {
> player.cuePlaylist({
> list:tabPlaylist,
> listType:'playlist',
> index:0,
> startSeconds:0,
> suggestedQuality:'medium'
>
> });
>
> player.loadPlaylist();
> console.log(player.getPlaylist()); // NOTHING !
>
> }
>
> ------------------
> tabPlaylist is an array ( ["l8MjTAXW7Fw", "fTa3fj8O_M4"] )
>
> Is it right??!!
>
> Thank you :-)
>
> Cheeeze
--
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