[Home]
[Home][Products][Support][Download][Order on-line!]
@ctiVideo Logo
[Overview]
[Screenshots]
[Gallery]
[LiveDEMO!]
[Reference]

[Sample code]
[FAQ]
[Distribution]
[Contact Us!]

[Select location]

[Registration]


 
@ctiVideoWeb Logo
Version 3.0

Server-Side Programming

[Windows Media Compatible]
Overview | Client-side | Server-side | Compression | Licensing
OK, I'm a web-application programmer and I need to incorporate @ctiVideoWeb. Now what?

Well, basically - nothing. You don't need to do anything special in order to incorporate @ctiVideoWeb in your project. From the webserver's perspective, the @ctiVideoWeb control behaves exactly like a normal HTML form, containing <INPUT type="file> tag. The only difference is, that instead of uploading a file from the visitor's hard drive, the control uploads a video frame or full-motion video clip.

The control will look as if the user has clicked the "Submit" button on the following page:

<FORM name="actiVideoWeb" method="POST" action="uploadvideo.asp">
<INPUT type="file" name="ActivideoControl">
<INPUT type="file" name="ActivideoControl2">
<INPUT type="text" name="SessionID">
<INPUT type="submit" value="Submit">
</FORM>

The ActivideoControl form field contains the first video/image file, the ActivideoControl2 form field contains the second video/image file (optional, only if ASFVideoStreams property was set to 2) and the SessionID form field will contain the value of the SessionID parameter of the control.

From here on, it's totally up to you to decide how you handle the uploaded files. One thing, that is worth mentioning is, that no matter what webpage you return to the control, it will not be shown on screen or executed by the Javascript/VBScript interpreters. This also includes the headers of the page, so if you want to show a result or redirect the user to another page, you'll have to use the webpage, specified in the URLCaptureFinished parameter of the control. The script, that handles the uploads does only that - handles the uploads (because the script was called from within the control, not within the browser). No interaction with the user can be done at this time.

 


Thank you for visiting ActiveVideoTools.com!
Please, send any questions, comments or suggestions about this site to webmaster@activevideotools.com

Copyright © 1999-2002 ActiVideo, Inc.
P.O. Box 3855, Laguna Hills, CA 92654
Fax: 1-530-884-6030
Click here for copyright information and disclaimer