VideoUploader.ViewChange Event

Raised when the view mode of folder or upload pane is changed.

Syntax

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
function VideoUploaderID_ViewChange(Pane) {
	//...your code...
}
var vu = new VideoUploaderWriter("VideoUploaderID", 610, 500);
//...params...
//...other event listeners...
vu.addEventListener("ViewChange", "VideoUploaderID_ViewChange");
//...other event listeners...
vu.writeHtml();
</script>

Parameters

Pane

A member of this enumeration which specifies a pane where the view mode is changed:

A member of the following enumeration:

String valueInteger valueDescription
FolderPane0

A folder pane (which displays the current folder content).

UploadPane1

An upload pane (which displays files from the upload list).

Note

When you get this value through JavaScript, an integer value will be returned.

Remarks

Typically you should use this event when it is necessary synchronize HTML user interface with view mode of Video Uploader. For example, if you add dropdown list which toggles view modes, this event enables you to update dropdown state if the view mode is changed through the context menu of the Video Uploader.

See Also

Reference