Category: YOU TUBE

  • Youtube API(Upload video to our website)

    First, download Zend Framework…… <?php //debug #error_reporting(E_ALL); //include Zend Gdata Libs require_once(“Zend/Gdata/ClientLogin.php”); require_once(“Zend/Gdata/HttpClient.php”); require_once(“Zend/Gdata/YouTube.php”); require_once(“Zend/Gdata/App/MediaFileSource.php”); require_once(“Zend/Gdata/App/HttpException.php”); require_once(‘Zend/Uri/Http.php’); //yt account info $yt_user = ‘ ‘; //youtube username or gmail account $yt_pw = ‘  ‘; //account password $yt_source = ‘jh’; //name of application (can be anything) //video path $video_url = ‘1.mov’; //yt dev key $yt_api_key = ‘AI39s…’;…