CatchTube V2- YouTube Video Searcher And Downloader

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • opticalpigion
    replied
    Originally posted by ranzit2 View Post
    @opti bro related video code gives
    Parse error: syntax error, unexpected $end
    add one more } at the end.

    Leave a comment:


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

    Leave a comment:


  • insyt
    replied
    Originally posted by jatt99
    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.

    Leave a comment:


  • opticalpigion
    replied
    Originally posted by koizumi View Post
    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 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";      
          }
    }
          
    ?>
    Last edited by opticalpigion; 20.09.09, 08:05. Reason: fixed code.

    Leave a comment:


  • koizumi
    replied
    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:


  • prajwal
    replied
    Originally posted by Suhail View Post
    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!

    Leave a comment:


  • Suhail
    replied
    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:


  • prajwal
    replied
    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
    Guest replied
    Thanx friend

    Leave a comment:


  • koizumi
    replied
    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
    Guest replied
    Can any 1 pls temme whr can i change 3gp and mp4 qualities..?

    Leave a comment:


  • opticalpigion
    replied
    Originally posted by koizumi View Post
    btw: mkhoj.php is a blank file. whats the use of it?

    Originally posted by koizumi View Post
    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.

    Leave a comment:


  • opticalpigion
    replied
    Originally posted by joseg View Post
    Is posible remove safe search ?
    yes.
    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:


  • opticalpigion
    replied
    Originally posted by malisa View Post
    look

    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
    add ur admob code into admob.php
    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:


  • koizumi
    replied
    Originally posted by ranzit2 View Post
    lol it was his ad page.and he deleted the content from it.it is not related with script files
    lol.. yeah! thats why im asking, im not familiar with mkhoj advertising. and i thought he's only using admob.

    Leave a comment:

Working...
X