1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A small question about wootube wordpress theme?

Discussion in 'Blogging' started by topgun1111, Dec 20, 2011.

  1. topgun1111

    topgun1111 Newbie

    Joined:
    Dec 20, 2011
    Messages:
    2
    Likes Received:
    0
    Hi, I want to use wootube wordpress theme phpmyvideoblog plugin.Videoblog plugin get videos and and copies video thumbnails in folder on my server.And I can show this folder to wootube but I dont want to keep thumbnails in my server.So I think I need to make a change in thumb.php of wootube theme that's like this :

    // set document root

    $doc_root = get_document_root($src);



    // get path to image on file system

    $src = $doc_root . '/uploads/mvbthumbs' . $src;



    $new_width = preg_replace( "/[^0-9]+/", "", get_request( 'w', 150 ) );

    $new_height = preg_replace( "/[^0-9]+/", "", get_request( 'h', 150 ) );

    $zoom_crop = preg_replace( "/[^0-9]+/", "", get_request( 'zc', 1 ) );

    $quality = preg_replace( "/[^0-9]+/", "", get_request( 'q', 90 ) );

    // set path to cache directory (default is ./cache)

    // this can be changed to a different location

    $cache_dir = './cache';

    How can I change this and show thumbnail directly from youtube?
    Thanks a lot for your help
     
  2. zayalnas

    zayalnas Newbie

    Joined:
    Dec 17, 2011
    Messages:
    39
    Likes Received:
    3
    Occupation:
    not working
    Location:
    Egypt
    Home Page:
    try to explain more plz :)