YouTube API for Drupal on the Way!

I blogged briefly recently about YouTube's new and improved API. Soon thereafter, there was a flurry of discussion about creating a Google Summer of Code project to integrate it with Drupal, including a proposal that wasn't accepted, but I believe nothing further happened from that point.
Until now.

Brad Bowman (beeradb) has stepped up to the plate and created a YouTube API wrapper. He hasn't released it yet, though he indicated that he plans to early next week. I have had the honor of an early review, and it is nice to work with.
I set it up on a test server, and was able to upload a video to its file directory and have it also uploaded to YouTube, showing up in my user account almost immediately. The API also let me view my YouTube video user feed, so I could verify the results without leaving my site.
Additionally, when retrieving videos, you have access to everything stored at YouTube with that video, including video duration (as shown in the screen shot), description, and user comments.
The next step, after Brad releases the module, will be to integrate it with the other modules that can benefit from it: Embedded Media Field, Media Mover, and others.
The API itself is fairly easy to set up. You first need to get a Developer Key and Client ID from the YouTube Developer's Dashboard, and paste them into the administration screen for the module. Then you're off to go! It works out of the box from that point.
The module comes with an example page where you can test everything, although I expect that will be moved to an example module by the time of the release.
This is us moving one step closer to a semantic web, with interchangeable parts seamlessly woven together into a quilted garment that is no longer one-size-fits-all.
(And here's the video shown in the screenshot, if you're curious...)

Contact Us

About Aaron Winborn

Aaron Winborn was Advomatic's first full time hire in 2006, and is a very active leader in the Drupal community. His first book, Drupal Multimedia is now available from Packt Publishing.


  • Looking for a career in the progressive movement? Check out @NewOrganizing Institute's NYC Career Fair!
    October 1, 2014 - 10:15am
  • #DrupalCon Amsterdam is happening right now, and we're super bummed we're not there. Just gonna follow the hashtag and think happy Drupal...
    September 29, 2014 - 1:16pm
  • NASA's on #Drupal now!
    September 26, 2014 - 3:15pm
  • Join the Women in #NPTech community call today at 3pm ET!
    September 25, 2014 - 10:15am
  • "OCaml is this funny shaped thing that Europeans like for some reason." If programming languages were vehicles:
    September 24, 2014 - 12:15pm