Get titles from playlist videos in YouTube iframe API (javascript)

橙三吉。 提交于 2021-01-28 06:10:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!