Copy link to clipboard
Copied
Hi
I have a php script that handles the upload of files and want people uplodaing video put video thats compatible with flash player.
$name=$_FILES['vidfile']['name'];
$type=$_FILES['vidfile']['type'];
$size=$_FILES['vidfile']['size'];
$temp=$_FILES['vidfile']['tmp_name'];
$error=$_FILES['vidfile']['error'];
//This is suppose to check the type of vid file upload. I need all the vid types to be flash compatible when access through xml
if($type=="vidfile/swf")
{
//okay to upload.
}
else
{
//not okay to upload.
}
The question is what file or video types will play on flash through xml and how can a verify any one uploading video has video in this format.
The last question is how do I create thumb nails of the uploaded videos. Like a clickable image of the thing some will watch thanx.
Copy link to clipboard
Copied
I think that it will make more sense to post the "what file or video types will play on flash through xml" on the Flash forum
Tony404 wrote:
The last question is how do I create thumb nails of the uploaded videos..
Maybe this Export JPEG with Flash/PHP - tutorial will be helpful.
Copy link to clipboard
Copied
Hi
Thank you for the reply. When a video is uploaded it is inserted into a folder on the server. The location of the video is inserted into an php myadmin database table. as a result many video would exsist In the folder. When dealing with photo I usually echo the photos from the folder. But with video how can I do this with out flash. just for the user to have an image of the video their going to watch. After they click the image of the video the xml kicks in and is played on the video player.
Thanks..
Copy link to clipboard
Copied
How about uploading a manually created image of the video into the same folder the video sits in while storing the image file name in another table column ?
Copy link to clipboard
Copied
Hey
I wish I could but the thumb images in same folder but I plan to have users upload the videos. Kind of how youtube works.
Cheers.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now