VideoUploader.PaneItemCanBeUploaded Property

Value that shows if the specified item can be uploaded at all.

Syntax

Get/Set Value in Runtime

JavaScript
value = getVideoUploader("VideoUploaderID").getPaneItemCanBeUploaded(Index);

Parameters

Index

A non-negative integer that specifies an index of a thumbnail item on a pane (zero-based). It should not exceed PaneItemCount - 1 for the implied pane. Depending on the layout mode, the following panes are implied:

  • In the OnePane layout mode, the upload pane is implied.
  • In the TwoPanes layout mode, the folder pane is implied.

Property Value

A boolean value (true or false). If true, the item can be uploaded (added to the upload pane or checked).

Remarks

The value of this property depends on the layout mode being used. That is:

  • In the OnePane layout mode, this property always returns true.
  • In the TwoPanes layout mode, this property returns true for items that satisfy all specified restrictions and thus can be checked for upload.

See Also

Reference