Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All Webmasters Help me here
05-17-2016, 08:11 PM
Post: #1
All Webmasters Help me here
I have a youtube api v3 downloader script but download option stopped working. now i want to use api as download option BUT i dont know how to add it in the watch.php file of my script. any one can help me out. give me your email address and i send you my watch.php file and you help me.

This is Watch.php file of my script below

$id = $_GET['v'];
include 'vfunc.php';

$durasi =$yf[items][0][contentDetails][duration];
$duration = $durasi;

$duration = str_replace('PT', '', $duration);
$duration = str_replace('H', ' hour ', $duration);
$duration = str_replace('M', ' min ', $duration);
$duration = str_replace('S', ' sec ', $duration);
$kata = ''.$name.'';
$kate = preg_replace('/[^a-z0-9_\-\.]/i','-',$name);
$kate = str_replace('.', '-', $kate);
$kate = str_replace('---', '-', $kate);
$kate = str_replace('--', '-', $kate);
$value = '4';
if (str_word_count($kata) > $value)
$limit = implode(' ', array_slice(explode(' ', $kata), 0, $value)).'';
$lmit = preg_replace('/[^a-z0-9_\-\.]/i','-',$limit);
$lmit = str_replace('---', '-', $lmit);
$lmit = str_replace('--', '-', $lmit);
$lmit = str_replace(' ', '-', $lmit);
$lmit = str_replace('.', '-', $lmit);
$limit = $kata;
$lmit = str_replace(' ', '-', $limit);
$get_video = file_get_contents(''.$id);
$get_video=str_replace('yoursite','',$get_video); // Site Name Replacing

$title = ' '.$name.' - Download MP4- 3GP - FLV ('.$duration.')';
$description = ''.$des.'';
include 'head.php';
echo'<div class="kotakcari">
<form action="/search.php" method="get"><input type="text" name="q" value="" width="80%"><input type="submit" value="Search"> <br />
<input name="act" type="radio" value="video" checked="checked">Video
echo '<div class="ngiri"><h2 class="title_a"> '.$name.'</h2><div class="menu"><table class="otable" width="100%"><tr><td width="70%">
<a href="/nonton?v='.$id.'"><img width="100%" src="'.$id.'/hqdefault.jpg" alt="'.$name.'"/></a><br /><a href="/nonton?v='.$id.'"><div class="dbutton"> Watch Video </div></a>
<img src="/view.jpg" width="18px" /> '.$viewCount.'<br /> <img src="/like.jpg" width="18px"> '.$likeCount.' <br />
<img src="/upload.jpg" width="18px" /> '.$date.' <br /><img src="/duration.png" width="18px" />
'.$des.'</div><div class="r">Direct Download Link</div><div class="menu">';


echo'</div><div class="info"><table><tr><td><img src="/info-32.png"></td><td>If download link not display please refresh the page.
echo '</tr></table></div></div></div></div>';

Keepvid download api i want to use in my watch.php file is here. see it below

<div style="background:url('') no-repeat center;width:700px;"><iframe src="" width="700" height="34" scrolling="no" frameBorder="0"></iframe></div>

So all webmasters help me please. thank you so much.
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
05-24-2016, 06:24 AM
Post: #2
RE: All Webmasters Help me here
you need good paid api script

SodMate.Com Download Videos From Youtube happy big grin
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)