Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

VideoUploader.UploadMovie1FitMode Property

Fit mode of the first movie.



<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var vu = new VideoUploaderWriter("VideoUploaderID", 610, 500);
//...other params...
vu.addParam("UploadMovie1FitMode", "Off");
//...other params...

Get/Set Value in Runtime

value = getVideoUploader("VideoUploaderID").getUploadMovie1FitMode();

Property Value

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

String valueInteger valueDescription
Off0Do not send a movie of this size to the server.
Fit1Send a movie which is resized to fit the specified rectangle.
Width2Send a movie which is resized to have the width which is not larger than the specified one.
Height3Send a movie which is resized to have the height which is not larger than the specified one.
ActualSize4Send the movie with the original video file dimensions.

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


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".

See Also