Connecting Tech Pros Worldwide Forums | Help | Site Map

Getting started with a video upload / display script

Newbie
 
Join Date: Aug 2007
Posts: 19
#1: Sep 1 '07
Hi im new with this and i need some help.

Could some one write me a script for this please.

* Upload video to a screen.
* Add many videos.
* Autoplay video on placed time.
* Remove video.

No design needed.
Thanks for me.



Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,747
#2: Sep 2 '07

re: Getting started with a video upload / display script


Hi.

The experts on this site are more than happy to help you with your problems but they cannot write your code for you. Attempt the program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

Moderator
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#3: Sep 2 '07

re: Getting started with a video upload / display script


Changed thread title to better describe the problem.
Newbie
 
Join Date: Aug 2007
Posts: 19
#4: Sep 2 '07

re: Getting started with a video upload / display script


at least could you tell me how to start, cuz i cannot write scripts, where do i learn to do that?
Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,747
#5: Sep 2 '07

re: Getting started with a video upload / display script


You can check out this online PHP tutorial at w3schools.com.

If you don't like that one, try googling 'PHP tutorial'. There are plenty of them out there.
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#6: Sep 2 '07

re: Getting started with a video upload / display script


Heya, Silmana.

Handling uploaded videos works the same as any other file. Have a look at this document for more info.

If you want the User to be able to upload multiple files at once, you'll probably want to extend the form using JavaScript. here is an excellent article covering that.

To autoplay a video file, you can simply set the autoplay="true" attribute for your embed. The object tag probably has a similar attribute, but this is not my area of expertise. Try asking this question in the HTML/CSS forum.

And to remove a file, it depends on how you are storing it. If it is stored in the filesystem, a simple unlink() call will do the trick. If it is stored in the database, you can simply use the DELETE command.
Reply