videoyoutubeyoutube-apigdatagdata-api

How can I get the video title when using YouTube Player IFrame API?


I have a video id. And then I show a video via YouTube Player API's IFrame API. The video is displayed, and now I need to IMMEDIATELY get this video's title.

Please note that I need to IMMEDIATELY get video's title when I display a YouTube video via YouTube Player IFrame API.

What's the FASTEST way to get video title? I need the solution.

Thank you.


Solution

  • It seems that it is not possible from the Player IFrame API:

    https://groups.google.com/forum/?fromgroups=#!topic/youtube-api-gdata/D0w8wA0UV7A

    "There's no way to get that info using the Players API. You'd need to use the Data API."