Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 755 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 755 Bytes

php-videoGet

Simple PHP script wich will get information about video by URL(from OpenGraph meta tags, like facebook). Now you can get videos Information from Youtube, Vimeo, Vkontakte, Coub, DailyMotion, MetaCafe, Rutube and many others...

Demo Page

Usage

The class is called 'videoGet', and function is called 'getVideoData'. So just call it ;)

$url = "http://www.youtube.com/watch?v=T6DJcgm3wNY";
$get = array('title','description','image','video','url','site_name');
	
$video = new videoGet($url, $get);
$video = $video->getVideoData();

License

Licensed under MIT license.