Capture video first frame / create a thumbnail of a video using php
<p>if (isset($_REQUEST['upload']))
{</p>

<p>//echo $name,$tmp_name,$uploadvideo_name,$uploadvideo_by,$uploadvideo_description;
    if($uploadvideo==0)
    {
            if($_FILES["uploadvideo"]["type"]=="video/mp4" ||$_FILES["uploadvideo"]["type"]=="application/octet-stream"){</p>

<pre><code>            if(move_uploaded_file($_FILES['uploadvideo']['tmp_name'],"videos/$fbid/".$_FILES['uploadvideo']['name']))
            {   
                $sucess="Uploaded Successfully";
            }
        }else{
                $sucess="Unsuccessfull . . Upload only Mp4/Flv Videos";

        }

}
else
{
    $sucess="Upload Failed";
}
</code></pre>

<p>}</p>

<p>?></p>

<h1>Upload Video</h1>

">


<p>Enter Video Name: </p>
<p>Select A MP4/Flv Video:   

<p>Video Upload By:  </p>
<p>Video Description:    </p>
<p></p>




</p>
