VideoUploader.PaneLayout Property

Layout of Video Uploader panes.

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

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setPaneLayout(value);
value = getVideoUploader("VideoUploaderID").getPaneLayout();

Property Value

A member of the following enumeration that specifies layout of Video Uploader panes:

String valueInteger valueDescription
OnePane0 Single upload list. You can drag-n-drop the necessary files from the Windows Explorer to this list. Also you can add files and folder using Add Files and Add Folders buttons respectively.
TwoPanes1 Folders tree + folder view (a list of the files in the selected folder). Each file has a checkbox which you need to check to select this file for upload.
Note

When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).

Default value is "TwoPanes".

Remarks

Keep in mind that Video Uploader is not designed to switch between layouts in run-time.