问题
I know that you can usually get current video titles using:
player.getVideoData().title;
But I was wondering if there is a way to get the titles from the playlist rather than just the current video and WITHOUT using the YouTube Data API? There is:
player.getPlaylist();
But it only returns an array of video IDs. Is this even possible, or must I go through the YouTube Data API?
来源:https://stackoverflow.com/questions/44979372/get-titles-from-playlist-videos-in-youtube-iframe-api-javascript