Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to Capture pic from you tube video when uploading

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34311
    The-Marshal
    Member

    Hi all

    Could anyone tell me how to Capture a picture from youtube videos when uploading ?

    thanx a lot in advance …

    #86950
    chrisburton
    Participant
    #86952
    The-Marshal
    Member

    wow man thanx a lot i will try it…

    #87011
    The-Marshal
    Member

    thanx ChristopherBurton

    now i tried to upload picture of this url but i can’t i’m still novice in php

    here is the code




    $url = "http://www.youtube.com/watch?v=EdjKMw1MVV8&feature=feedu";
    parse_str( parse_url( $url, PHP_URL_QUERY ) );
    echo $v;

    // this is the url .
    $you = "http://img.youtube.com/vi/$v/0.jpg";

    // here is the process.
    if (isset($_POST)) {
    $name = $_FILES;
    $tmp = $_FILES;
    $folder = "upload/";
    echo $name ." ". $tmp;
    if (move_uploaded_file($tmp,$folder.$name)) {
    echo "

    picture uploaded

    ";
    } else {
    echo "wrong in uploading !";
    }
    }
    ?>
    // here is the form but i want it with hidden input .







    #87047
    chrisburton
    Participant

    What are you trying to do exactly? Retrieve a thumbnail of the latest video you’ve uploaded to Youtube?

    #87508
    The-Marshal
    Member

    YES .

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.