Thanks in advance for your review!!
Actually for a client I need the feature of embeding youtube videos in nodes + uploading videos directly to youtube from drupal. I searched for available modules but did not find any. Then I accomplished the task using a couple of modules mentioned below.
So I thought of creating a module for youtube integration. This module uploads videos directly to youtube. No server load, becouse the file is directly moved to youtube and drupal just stores the 11 character youtube story id.
-- About --
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.
-- INSTALLATION --
1. Adding Zend-Google Gdata library :
Firstly, you will need to download the latest version Zend Gdata library from "https://packages.zendframework.com/releases/ZendGdata-1.12.1/ZendGdata-1..."
Once downloaded you need to add a folder ("Zend_Gdata") in sites/all/libraries. So the complete path to the folder will be sites/all/libraries/Zend_Gdata
Now extract Zend_Gdata library and navigate to Zend_Gdata-X.XX > library. You will find a folder named "Zend". Copy it and paste in sites/all/libraries/Zend_Gdata
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 the youtube developer key goto "visit http://code.google.com/apis/youtube/dashboard/" and register a product. Then Copy the developer key and paste in the form and save it.
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.
-- Project Page --
-- Git --
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/sunnyuff/1874604.git youtube_video_uploader