Can you post on how to do this.. maybe lefty can help here like on the Dailymotion..
i am trying to learn and figure this out.. yeah you can webscrape the link from the http://www.keepvid.com or even with clipnabber.. but the link will download but does not play directly in jwplayer..
like with google someone posted the example page that needs to be loaded.. Can someone explain exactly what this page does??
<?php // Google URI: http://video.google.com/videoplay?docid=7206494026138253535
// call with: http://www.mydomain.com/path/Google_URI.php?docid=7206494026138253535
// JWMP code:
// 'file': encodeURIComponent('Google_URI.php?docid=7206494026138253535'),
// 'type': 'video',
// call with: http://www.mydomain.com/path/Google_URI.php?docid=7206494026138253535&type=flv
// JWMP code:
// 'file': encodeURIComponent('Google_URI.php?docid=7206494026138253535&type=flv'),
// 'type': 'video', $docid = (isset($_GET['docid'])) ? strval($_GET['docid']) : '7206494026138253535';
$type = (isset($_GET['type'])) ? strval($_GET['type']) : 'flv'; $file = @file_get_contents("http://video.google.com/videoplay?docid=$docid");
if($type == 'flv')
preg_match("/googleplayer.swf\?videoUrl\\\\x3d(.*?)\\\\x26/", $file, $match);
preg_match('/right-click <a href="(.*?)">this link/', $file, $match);
} $uri = urldecode($match); header("Location: $uri"); ?>
so if i scrape with the link from keepvid.com then would i use something similar like above to get the the .flv to play in the jwplayer??
see is you paste this in your browser it returns you the Download Link which works if you click on it downloads the .flv
but if you paste the same link in the JWPLAYER..
just need an explanation why it does not work and what needs to be done to circumvent it.. from what i found i think it needs to do something similar to the google_uri.php page above...
lefty any help here. or anyone with knowledge..or point me in the direction where i can read any info on net to figure this out..