There are follow some steps you to upload a video on vimeo via the vimeo API.also you can access all of your uploaded video on vimeo.com. vimeo is a one of the power full video sharing website like youtube.
<?php
require_once('vimeo.php');
try
{
$consumer_key = 'CONSUMER KEY HERE';
$consumer_secret = 'CONSUMER SECRETE HERE';
$oauth_access_token = 'AUTH ACCESS TOKEN HERE';
$oauth_request_token_secret = 'AUTH TOKEN SECRETE HERE';
$vimeo = new phpVimeo($consumer_key, $consumer_secret, $oauth_access_token, $oauth_request_token_secret);
$video_id = $vimeo->upload('VIDEO NAME HERE');
$videotitle = 'VIDEO TITLE HERE !';
$videodesc = 'VIDEO DESCRIPTION HERE !';
if ($video_id) {
$sUploadResult = 'Your video has been uploaded and available <a href="http://vimeo.com/'.$video_id.'">here</a> !';
$vimeo->call('vimeo.videos.setTitle', array('title' => $videotitle, 'video_id' => $video_id));
$vimeo->call('vimeo.videos.setDescription', array('description' => $videodesc, 'video_id' => $video_id));
$videourl = 'http://vimeo.com/'.$video_id;
$arry['data']['flag'] = true;
$arry['data']['url'] = $videourl;
$arry['data']['msg'] = "Video Uploaded Successfully.";
}
else
{
$arry['data']['flag'] = false;
$arry['data']['msg'] = "Not able to retrieve the video status information yet. " ."Please try again later.\n";
}
}
catch(Exception $e)
{
$arry['data']['flag'] = false;
$arry['data']['msg'] = $e->getMessage();
}
if($video_id)
{
$arry['data']['flag'] = true;
$arry['data']['url'] = $videourl;
$arry['data']['msg'] = 'Video Uploaded Successfully.';
}
else
{
$arry['data']['flag'] = false;
}
if($arry['data']['msg'] == 'Invalid signature')
{
$arry['data']['msg'] = 'Invalid Secret or oauth_request_token_secret';
}
if($arry['data']['msg'] == 'Permission Denied')
{
$arry['data']['msg'] = 'Invalid oauth_access_token';
}
echo "<pre>";
print_r($arry);
?>
nice work bro.
ReplyDeleteHow To Upload Video On Vimeo Using Php ~ Website Development >>>>> Download Now
Delete>>>>> Download Full
How To Upload Video On Vimeo Using Php ~ Website Development >>>>> Download LINK
>>>>> Download Now
How To Upload Video On Vimeo Using Php ~ Website Development >>>>> Download Full
>>>>> Download LINK 3r
How to get vimeo.php
ReplyDeleteDear Kailash,
Deleteyou can download vimeo.php file from this url
http://easyscript4u.com/demo/vimeo.rar
Enjoy......
Swoon media video production company Auckland NZ produces HD
ReplyDeletequality for online video marketing and video production for TVCweb site video
[msg] => Not able to retrieve the VIDEO status information yet. Please try again later.
ReplyDeletehelp please
if authentication fails, or if we have internet failure, handling error was not possible
ReplyDeleteI created the vimeo api and requested five days to approve the upload via this api will be the reason for the error below?
ReplyDeleteArray
(
[data] => Array
(
[flag] =>
[msg] => Cannot upload
)
)
Dear ,
Deletefirst check your vimeo request is approve or rejected by vimeo.
Thanks Bodar
ReplyDeletewill the same script work for video file larger than 100MB size?
ReplyDeleteBasic members have a weekly upload limit of 500MB, and can upload video files up to 500MB each. Plus members have a weekly upload limit of 5GB, and can upload files up to 5GB each. Keep in mind that there are a million variables in video compression.
DeleteHi Bodar from vimeo i got these two CONSUMER KEY HERE,CONSUMER SECRETE HERE but how can i get the AUTH ACCESS TOKEN HERE,AUTH TOKEN SECRETE HERE please help me to move forward
ReplyDeletelimbanibhavik.blogspot.com
ReplyDeletevimio.php file is not find on this link.
ReplyDeletehttp://easyscript4u.com/demo/vimeo.rar
ReplyDeleteArray
(
[data] => Array
(
[flag] =>
[msg] => Invalid Secret or oauth_request_token_secret
)
)
this message very frustating help me
also iwas unable to get oauth_access_token,oauth_request_token_secret hiow to get these things help me
ReplyDeleteHow to get vimeo.php
ReplyDeleteunable to get oauth_access_token,oauth_request_token_secret hiow to get these things help me
ReplyDeleteHow To Upload Video On Vimeo Using Php ~ Website Development >>>>> Download Now
ReplyDelete>>>>> Download Full
How To Upload Video On Vimeo Using Php ~ Website Development >>>>> Download LINK
>>>>> Download Now
How To Upload Video On Vimeo Using Php ~ Website Development >>>>> Download Full
>>>>> Download LINK Ht