Experimental project

This is a sandbox project, which contains experimental code for developer use only.

A standardised solution of integrating Youtube APIs with Drupal. Provides a YouTube CCK field which can be used with Youtube URL or uploading a video directly to Youtube.

Features

  • Creates a CCK field "YouTube" to upload Youtube videos.
  • Provides Video Upload and URL extract formats.
  • Creates a youtube Engine settings form to add youtube credentials
  • Creates a module specific permission so only users having permission can add/update youtube credentials.

This is a D7 module

A module to embed and upload videos to Youtube from Drupal. Provides a Youtube CCK field which can be used with Youtube URL or uploading a video directly to Youtube.

DEPENDENCIES :
1. Libraries
2. ctools
3. Zend Gdata library v1.12.3

Please download the same version of gdata library, some newer versions may not work with the module.

-- INSTALLATION --
1. Adding Zend-Google Gdata library :
Firstly, you will need to download the Zend Gdata library from "http://packages.zendframework.com/releases/ZendGdata-1.12.3/ZendGdata-1...."
Once downloaded you need to extract the folder in sites/all/libraries and rename it as ZendGdata. So the complete path will look like :

"sites/all/libraries/ZendGdata/library/Zend/Gdata.php"

2. Installing and configuring the module
Install as usual, Download the module and paste it in sites/all/modules.
Activate the module in admin/modules.
Navigate to admin/config. In the right side block find "Youtube Engine Settings". Click on the link.
Fill the form. Your google email id and password.

To obtain Youtube API key,
go to https://console.developers.google.com and create a project.
After you create a project you see APIs & auth on left hand side bar.
Click on APIs & auth>Credentials>create new key> Browser key.
Add you site url ( with wilcard if needed ) in allowed referers.
Copy the generated API key and add it in YouTube Video Uploader Settings.
(Remember to upload a video using youtube.com if its a new account and your gmail
is not linked to your youtube account.)

3. Adding the youtube field.
Goto "admin/structure/types" and select manage fields in any content type.
Create a new CCK field. Select Field type as "youtube".
Click on save settings do not change any settings other than required field setting, Multifield is currently not supported.

-- HOW IT DIFFERS? --

1. Media: YouTube :

The main difference between any other module currently available ( including Media youtube ) and "Youtube Video Uploader" in my opinion is that the focus of this module is to provide a clean interface for uploading videos directly to Youtube and fomatters to display them. It uses the Zend Gdata library to communicate to the Youtube API and implements the "browser upload method" so the video file never hits the Drupal file system. Drupal just stores the unique 11 character Youtube story ID. It saves two most valuable resources in web technologies i,e. "storage and bandwidth". Media module does not provides the functionality to upload videos to Youtube instead it just provides the ability to embed Youtube videos.

2. Video_upload :

It was for Drupal 6 and they mentioned in their project page to use Media and Media:YouTube instead.

Project information