VideoUploader.UploadThumbnail1FitMode Property

Fit mode of the first thumbnail.

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

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setUploadThumbnail1FitMode(value);
value = getVideoUploader("VideoUploaderID").getUploadThumbnail1FitMode();

Property Value

A member of this enumeration that specifies a fit mode for the first thumbnail:

String valueInteger valueDescription
Off0Do not send a thumbnail of this size to the server.
Fit1Send a thumbnail which is resized to fit the specified rectangle.
Width2 Send a thumbnail which is resized to have the width which is not larger than the specified one.
Height3 Send a thumbnail which is resized to have the height which is not larger than the specified one.
Icon4Send an icon of the file instead of the thumbnail.
ActualSize5 Send a thumbnail of the original movie frame size.

If unsupported string value is passed, it is interpreted as Off.

Note

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

Default value is "Off" (do not send a thumbnail).

Remarks

If you choose to send resized thumbnails, you can specify the quality of resizing with the UploadThumbnail1ResizeQuality property.

See Also

Reference