v_scaleflv='yes';
This allows you to change the size of the video on your page to any pixel dimension you wish. This must be set to yes in order to use the width and height adjustments below. Options are yes, no (default), or any number from 1 to 200.If you set this value to a numeric figure from 1 to 100 then the video will be resized automatically as a percentage of the original size, but within the canvas size you set. Remember the canvas size can be set manually so as to accomodate overlays such as background or foreground graphics or animation. For example 50 will let the video be 50% resized.
v_scalecanvas='exact';
Options for scalecanvas are exact, exactwidth, exactheight. The Exact value will automatically resize the canvas to the video dimensions of the video file, whether it is exactwidth, exactheight or both (exact).
v_mwidth='400';
This OPTIONALLY sets the width of the video canvas in pixels. If the scaleflv is set to "yes" then the video will automatically resize to this width.
v_mheight='400';
This OPTIONALLY sets the height of the video canvas in pixels. If the scaleflv is set to "yes" then the video will automatically resize to this height.
Sample Code
<script language="JavaScript" type="text/javascript">
v_scaleflv='yes';
v_mwidth='400';
v_mheight='400';
v_theflv='sample.flv';
v_flvbase='http://www.yoursite.com/videos/';
v_alignvideo='bottomright';
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="http://code.javahd.com/js/sample.js" type="text/JavaScript"></SCRIPT>
Comments
0 comments
Please sign in to leave a comment.