Maximum file size which is allowed for upload to the server.

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("MaxFileSize", "0");
//...other params...
vu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript

getVideoUploader("VideoUploaderID").setMaxFileSize(value);
value = getVideoUploader("VideoUploaderID").getMaxFileSize();

Property Value

A non-negative integer value that specifies maximum size (in bytes) for files allowed for upload. If the value is 0 then there is no limit.

Default value is "0" (no limit).

Remarks

This property limits only a single file. If you want to set limit for all selected files, use the MaxTotalFileSize property.