PHP Classes

File: demo.php

Recommend this page to a friend!
  Classes of Michael Kamleitner  >  phpTube  >  demo.php  >  Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: Example Code
Class: phpTube
Upload and download video files from YouTube
Author: By
Last change:
Date: 14 years ago
Size: 258 bytes
 

Contents

Class file image Download
<?php
   
include_once ("phptube.php");

   
$tube = new PHPTube ();
   
$tube->download("TWZ5j-SNVKs","demo.flv");

   
$tube = new PHPTube ("username","password");
   
$id = $tube->upload ("/path/to/videofile.3gp","PHPTube Demo", "Demo PHP YouTube", "...", 10, "DE");
?>

For more information send a message to info at phpclasses dot org.