VideoUploader.FileMask Property

File mask for the files which are allowed to be displayed and uploaded.

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

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setFileMask(value);
value = getVideoUploader("VideoUploaderID").getFileMask();

Property Value

A string value that specifies a file mask for files allowed to be displayed and uploaded. You can use the standard wildcards such as asterisk * (arbitrary substring) and question mark ? (arbitrary character). To specify several masks, separate them by semicolons, e.g. *.jpg;*.jpeg;*.jpe. To display all possible files, use *.*.

Default value is "*.*" (all files).

See Also

Reference