Switch that specifies whether original file should be uploaded or it is necessary to upload only resized copies.

Syntax

Initialize

JavaScript

<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var vu = new VideoUploaderWriter("VideoUploaderID", 610, 500);
//...other params...
vu.addParam("UploadSourceFile", "true");
//...other params...
vu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript

getVideoUploader("VideoUploaderID").setUploadSourceFile(value);
value = getVideoUploader("VideoUploaderID").getUploadSourceFile();

Property Value

A boolean value (true or false). If true, the original source file is uploaded. Otherwise only thumbnails (with fit modes which is different than Off) are sent.

Default value is "true".

Remarks

Sometimes it makes sense to disable the source file upload and send only thumbnails and movies. For example, if you develop a video hosting web site where you should display movies with maximum dimensions, say, 800x600, and your users will send high-resolution videos, you can just upload resized version. This way you highly reduce the traffic and increase the upload speed.