Aurigma Video Uploader 1.0
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 value | Integer value | Description |
|---|---|---|
| Off | 0 | Do not send a thumbnail of this size to the server. |
| Fit | 1 | Send a thumbnail which is resized to fit the specified rectangle. |
| Width | 2 | Send a thumbnail which is resized to have the width which is not larger than the specified one. |
| Height | 3 | Send a thumbnail which is resized to have the height which is not larger than the specified one. |
| Icon | 4 | Send an icon of the file instead of the thumbnail. |
| ActualSize | 5 | Send a thumbnail of the original movie frame size. |
If unsupported string value is passed, it is interpreted as Off.
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.