CatchTube V2- YouTube Video Searcher And Downloader

Started on the old forum in July 2009 · view the original in the archive · old links redirect here

76 replies · 19,077 views · started 17 years ago · 1 min read

TL;DR · summary of 76 replies
  • - The issue of removing the search secure for adult videos category was not resolved as no specific code changes were provided.
  • - The bug related to duplicate recent search entries could not be fixed due to inconsistent reports and lack of detailed information on how to reproduce or fix it.
  • - The server configuration error regarding file access was suggested to be fixed by changing the $_SERVER['DOCUMENT_ROOT'] value in ctubefooter.php, but no specific code changes were provided.
  • - Adding an embedded player for streaming videos in a PC-only context and making related video sections more accurate based on content rather than title is still unresolved as no specific code or approach was offered.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

32 participants
opticalpigion Lead · 593 posts #21

koizumi wrote: btw: mkhoj.php is a blank file. whats the use of it?

koizumi wrote: lol.. yeah! thats why im asking, im not familiar with mkhoj advertising. and i thought he's only using admob.

i have try mojiva buzzcity and all

but i found good only with admob mkhoj and myadz.in

so mostly i use mkhoj and admob.

Guest #22

Can any 1 pls temme whr can i change 3gp and mp4 qualities..?

Guest #24

Thanx friend

prajwal Junior · 19 posts #25

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!!!

Suhail Newbie · 8 posts #26

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*

prajwal Junior · 19 posts #27

Suhail wrote: 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

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!

koizumi Developer · 81 posts #28

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.

opticalpigion Lead · 593 posts #29

koizumi wrote: 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.

<?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";      
      }
}
	  ?>
insyt Newbie · 2 posts #30

jatt99 wrote: it uses youtube public api ...right.???

where we have to put our own api..???

in which page it is included???

Youtube api doesn't reqiure a key bro.

ranzit2 Developer · 187 posts #31

@opti bro related video code gives Parse error: syntax error, unexpected $end

she is beautifull than php.and i love her more than php.

rh0bz Junior · 30 posts #33

i also have the same problem,, mine is that i doesnt support simplexml_load_file() i use php4 can anyone recode it as php curl? they said it will work there

xcoderx Junior · 43 posts #34

rh0bz wrote: i also have the same problem,, mine is that i doesnt support simplexml_load_file() i use php4 can anyone recode it as php curl? they said it will work there

add this line to ur htaccess and try ur luck

# Use PHP5 as default
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml .html
rap-4ever Developer · 180 posts #35

yeah...its very easy to fix... just open footer.php and other files where you see error like function include and replace with this..

<?php include('mkhoj.php');

on this script it is like this,and it is wrong 😀

<?php include($_SERVER['DOCUMENT_ROOT'].'/mkhoj.php'); and add in mkhoj.php and admob.php this: <?php ?>

😀

or just move mkhoj.php and admob.php in root.

rap-4ever Developer · 180 posts #36

i have error in datails.php , Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\chat\details.php on line 15 and Fatal error: Call to undefined function admob_request() in C:\xampp\htdocs\chat\details.php on line 221 ...

help me (if you want 😀 )

ranzit2 Developer · 187 posts #37

rap-4ever wrote: i have error in datails.php , Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\chat\details.php on line 15 and Fatal error: Call to undefined function admob_request() in C:\xampp\htdocs\chat\details.php on line 221 ...

help me (if you want 😀 )

enable curl on xampp . goto php folder that is “C:\xampp\php” in that search for “php.ini” open it. After opening search for “extension=php_curl.dll” just uncomment that one. After doing that, just restart your Apache. and include admob in details.php as function admob_request() in in admob.php

she is beautifull than php.and i love her more than php.

Ladoo Newbie · 9 posts #38

Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /home/xxxxxxxxxx/public_html/xxxxxxxxx/search.php on line 82

How Should i solve this ??

http://speedlite.co.cc - Fastest Proxy Site

bjayz Developer · 94 posts #40

hi can u pls back up ur script yah using now in ur demo and zipped it then attached it here again,, thats sure it has no errors and bugs! pls...

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close