Hi guys,
I have created a site where users can upload videos(mp4) and images(jpg & gif).
The upload script sends the uploaded file to a folder on a remote server, and the filepath is stored in MYSQL.
Can any one tell how i go about playing the stored videos or show the stored images?
Also does anyone know how i can create thumbnails for uploaded videos?
any help or advice will be much appreciated...
Thanks,
Show Data from SQL Database Using PHP
Moderator: General Moderators
-
evanleondawod
- Forum Newbie
- Posts: 8
- Joined: Sat Mar 28, 2009 1:04 pm
Re: Show Data from SQL Database Using PHP
Images are easy: <img src="xxxx/xxxx/xxxx.jpg" alt="blahblah" border=0>evanleondawod wrote:Can any one tell how i go about playing the stored videos or show the stored images?
Audio and video are more difficult. There are several different ways to do it, using HTML <embed> tags, Javascript video players, Flash, etc. You will need to do quite a lot of reading to determine the best way for your situation. You might start here: http://www.tutorialized.com/tutorial/Embed-Video/3490
PhotoShop, Gimp, PaintShopPro, even PHP.Also does anyone know how i can create thumbnails for uploaded videos?