我正在尝试使用此JavaScript API播放youtube播放列表,用于今年1月推出的iframe嵌入. http://apiblog.youtube.com/2011/01/introducing-javascript-player-api-for.html
请注意下面的iframe标记和带有"/ p"的链接以表示其播放列表.
<iframe src="http://www.youtube.com/embed/p/ID" width="100%" height="500" frameborder="0"></iframe>
Run Code Online (Sandbox Code Playgroud)
但是,即使在http://code.google.com/apis/youtube/iframe_api_reference.html上的文档中,我也无法找到如何使用onYouTubePlayerAPIReady()通话播放播放列表.