VideoUploader.MaxFileCount Property

Maximum number of files allowed for upload per one session.

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

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setMaxFileCount(value);
value = getVideoUploader("VideoUploaderID").getMaxFileCount();

Property Value

A non-negative integer value that specifies maximum file count allowed for upload per one session. If the value is 0 then there is no limit.

Default value is "0" (no limit).

Remarks

This property makes sense only if the AllowMultipleSelection property is true.

See Also

Reference