Youtube PHP API - How do I add a specific video to

2019-08-11 02:08发布

问题:

I'm trying to set up a quick PHP demo using the Youtube API that adds a video (using its ID) to a pre-created playlist (using its ID as well). The documentation for the PHP API doesn't specify how to do this. I'm referring to this documentation: http://code.google.com/apis/youtube/2.0/developers_guide_php.html#Adding_a_Playlist_Video

Does anyone know how to accomplish this using the PHP API? It seems like it should be ridiculously simple, but I'm not seeing it.

回答1:

Look through the code for the project located here: http://www.myphpetc.com/2009/12/building-youtube-playlist-queue-with.html