VideoUploader.MessageMaxFileCountExceededText Property

Text of the error message which states that the user tries to select too many files.

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("MessageMaxFileCountExceededText", "The file [Name] cannot be selected. Amount of files exceeds the limit ([Limit] files).");
//...other params...
vu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setMessageMaxFileCountExceededText(value);
value = getVideoUploader("VideoUploaderID").getMessageMaxFileCountExceededText();

Property Value

A string value which specifies a text of the error message stating that the user tries to select too many files (i.e. the number of the selected files is bigger than the MaxFileCount value). To disable this message, set it to an empty string.

To be able to display additional information in this error message (like file name, and limit you specified), special keywords are used:

[Name]
replaced by the name of the file which cannot be added.
[Limit]
replaced by the MaxFileCount value (i.e. the limit for a number of files allowed for upload).

Default value is "The file [Name] cannot be selected. Amount of files exceeds the limit ([Limit] files).".

Remarks

This property is necessary for localization of Video Uploader.

Note

If you want to specify a multiline text use the "\n" sequence to separate lines.

See Also

Reference