• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
upload video to youtube remotely using codeigniter

#1
[eluser]Unknown[/eluser]
Hi, I need the functionality of uploading videos to youtube using codeigniter, could anyone tell me how to do that ?

Thanks for your help

#2
[eluser]NeoArc[/eluser]
Try installing Zend Gdata

http://code.google.com/apis/youtube/2.0/...e_php.html

#3
[eluser]Unknown[/eluser]
[quote author="NeoArc" date="1313798228"]Try installing Zend Gdata

http://code.google.com/apis/youtube/2.0/...e_php.html[/quote]


Isn't there a library for codeigniter? I mean youtube-codeigniter library..

#4
[eluser]NeoArc[/eluser]
You can try setting up your include path, and then calling Gdata clases from inside the controller

Copy the Zend Directory inside your library directory

Code:
set_include_path(get_include_path().PATH_SEPARATOR.FCPATH.'/application/libraries');

require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata_YouTube');
$yt = new Zend_Gdata_YouTube();

BTW, this code is not complete/validated, keep trying.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.