Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8982075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:29:43+00:00 2026-06-15T20:29:43+00:00

I have created a YouTube player with the YouTube Javascript API that loads up

  • 0

I have created a YouTube player with the YouTube Javascript API that loads up a playlist I have created.

Because the video is chromeless, it does not display controls or video info.
I was hoping to pull the title of the currently playing video and display it underneath. I can pull information such as current time position, and current video duration with things like ytplayer.getDuration() and ytplayer.getCurrentTime().

Wondering if something like “ytplayer.getTitle()” might exist but be undocumented?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:29:44+00:00Added an answer on June 15, 2026 at 8:29 pm

    You can’t get the title from the ytplayer object, as that’s really just an interface to the player controls. But you could add in a quick call to the video feed (perhaps as a part of the onPlayerReady function, but it could really be anywhere). For example, with jQuery this would only require:

    $.get('http://gdata.youtube.com/feeds/api/videos/[videoid]?v=2&alt=json',function(data) {
           title=data.entry.title.$t;
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have created a YouTube video browser from a playlist, you can view
I have set up some test code that loads in a youtube video and
Hi i have created the following ckeditor plugin to insert a youtube video: (function()
I have a Youtube video embedded in a slideshow that I would like to
I have an embedded youtube video iframe in my html that I need to
I have created a Youtube small web application using the Youtube API . The
I have an IFrame embedding a youtube video. I want to create a textbox
I have created some JQuery that will expand a div 'popup' on hover and
I have created an android application that calls (using kSOAP library) a SOAP based
I have created a function that shows/hides different messages according to a combination of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.