Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

VideoUploader.BeforeUpload Event

Raised when the upload is about to be started.


<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
function VideoUploaderID_BeforeUpload() {
	//...your code...
var vu = new VideoUploaderWriter("VideoUploaderID", 610, 500);
//...other event listeners...
vu.addEventListener("BeforeUpload", "VideoUploaderID_BeforeUpload");
//...other event listeners...

Return Value

A boolean value (true or false). If event handler returns false (or zero), the upload is cancelled. Otherwise, upload begins immediately after the event handler finishes. This makes the event handler convenient for validating additional data provided by user.

See Also