Originally posted by ranzit2
View Post
CatchTube V2- YouTube Video Searcher And Downloader
Collapse
X
-
@opti bro related video code gives
Parse error: syntax error, unexpected $end
Leave a comment:
-
Youtube api doesn't reqiure a key bro.Originally posted by jatt99it uses youtube public api ...right.???
where we have to put our own api..???
in which page it is included???
Leave a comment:
-
Originally posted by koizumi View PostHow to make the related video section to be the real related videos?
Because this script only search the same title as the video being watch.
For example, ive click on a video with a title of: Mobile Youtube.
In the detail page of that, it will show related videos, but in a sense that they are related in Title only.
I want to know, how to fetch the related videos just like in youtube.PHP Code:<?php
/*
Related Video Responses
+
Related Videos Result
YouTube API
BY : OPTICALPIGION
add to details.php
*/
$responseFeed = simplexml_load_file($video->responsesURL);
echo "<div>" .
$responseFeed->title . "</div>\n";
foreach ($responseFeed->entry as $response) {
$responseVideo = parseVideoEntry($response);
echo "<div>\n";
echo "<a href=\"{$responseVideo->watchURL}\">
<img src=\"$responseVideo->thumbnailURL\"/></a></div>\n";
echo "<div><a href=\"{$responseVideo->watchURL}\">
{$responseVideo->title}</a><br/>\n";
echo sprintf("%0.2f", $responseVideo->length/60) . " min. |
{$responseVideo->rating} user rating | {$responseVideo->viewCount}
views<br/>\n";
echo $responseVideo->description . "</div>\n";
echo "</div>\n";
$relatedFeed = simplexml_load_file($video->relatedURL);
echo "<div>" .
$relatedFeed->title . "\n";
foreach ($relatedFeed->entry as $related) {
$relatedVideo = parseVideoEntry($related);
echo "<div>\n";
echo "<div><a href=\"{$relatedVideo->watchURL}\">
<img src=\"$relatedVideo->thumbnailURL\"/></a></div>\n";
echo "<div><a href=\"{$relatedVideo->watchURL}\">
{$relatedVideo->title}</a><br/>\n";
echo sprintf("%0.2f", $relatedVideo->length/60) . " min. |
{$relatedVideo->rating} user rating | {$relatedVideo->viewCount}
views<br/>\n";
echo $relatedVideo->description . "</div>\n";
echo "</div>\n";
}
}
?>
Leave a comment:
-
How to make the related video section to be the real related videos?
Because this script only search the same title as the video being watch.
For example, ive click on a video with a title of: Mobile Youtube.
In the detail page of that, it will show related videos, but in a sense that they are related in Title only.
I want to know, how to fetch the related videos just like in youtube.
Leave a comment:
-
if u get this error means ur hosting is not supporting this script . . Evn i got same error . But in my frnds hosting its wrks fine!Originally posted by Suhail View PostI m getting following error.
Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line 46
Warning: simplexml_load_file(Top Rated) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line 46
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://gdata.youtube.com/feeds/mobile/standardfeeds/top_rated/?orderby=viewCount&max-results=5&start-index=1&format=1" in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line 46
Fatal error: Call to a member function children() on a non-object in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line
Leave a comment:
-
Help
I m getting following error.
Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line 46
Warning: simplexml_load_file(Top Rated) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line 46
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://gdata.youtube.com/feeds/mobile/standardfeeds/top_rated/?orderby=viewCount&max-results=5&start-index=1&format=1" in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line 46
Fatal error: Call to a member function children() on a non-object in /www/vndv.com/v/i/d/videohub/htdocs/index.php on line
Leave a comment:
-
hi coder's can any1 make a mod 2 this script like adding embedded player 2 stream videos in pc only... Pls give me suggestions regarding this .. I want streaming aswell as downloading youtube videos script.. Pls help me guys!!!
Leave a comment:
-
Guest repliedThanx friend
Leave a comment:
-
its API controlled mate. Whats in there is not controlable.
You can check here to add more features: YouTube APIs and Tools - Google Code
Leave a comment:
-
Guest repliedCan any 1 pls temme whr can i change 3gp and mp4 qualities..?
Leave a comment:
-
Originally posted by koizumi View Postbtw: mkhoj.php is a blank file. whats the use of it?
i have try mojiva buzzcity and allOriginally posted by koizumi View Postlol.. yeah! thats why im asking, im not familiar with mkhoj advertising. and i thought he's only using admob.
but i found good only with admob mkhoj and myadz.in
so mostly i use mkhoj and admob.
Leave a comment:
-
yes.Originally posted by joseg View PostIs posible remove safe search ?
there is catagories like
Cars & Vehicles
Comedy
Education
Entertainment
Film & Animation
Gaming
How To & Style
Music
News & Politics
People & Blogs
Pets & Animals
Science & Technology
Sports
Travel & Events
in all this page there is only one diffrant. thats catagorie name.
change it with adults. and make new page.
Leave a comment:
-
add ur admob code into admob.phpOriginally posted by malisa View Postlook
Warning: include(/home/stojan2mobi/mobilmega.mobi/mkhoj.php) [function.include]: failed to open stream: No such file or directory in /home/stojan2mobi/mobilmega.mobi/catchtube/ctubefooter.php on line 19
Warning: include() [function.include]: Failed opening '/home/stojan2mobi/mobilmega.mobi/mkhoj.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/stojan2mobi/mobilmega.mobi/catchtube/ctubefooter.php on line 19
CatchTube.mobi - Search And Download YouTube Videos For Mobile
and
add another ads code into mkhoj.php
if you dont use admob then you have to remove
echo admob_request($admob_params); from details.php
or maybe someother page i dont remember exactly.
Leave a comment:
Leave a comment: