Setting Parameters For Embedded Videos

Once you've successfully embedded a video into your web page, you can then set some parameters for that video. These parameters have various functions and effects and you you type each one inside of an object element.


Show/Hide Embedded Video Control Buttons

You can opt. to show the play, pause, fast forward, and rewind button by using the following code:

<param name="controller" value="true">


Disable/Enable Auto Play Of Embedded Videos

You can set a video to automatically load and starts playing right as soon as a web page finishes loading. Sometimes this may be an inconvenience and you can disable videos from automatically loading by using the code:

<param name="autoplay" value="false">


Scaling Embedded Movies

You can adjust or scale the size of a movie by using one of the following parameter code:

<param name="scale" value="X"> Where the value of X is a number that will by multiplied by the original width and height of the video. The result will then be the newly scaled height and width of the video.

<param name="scale" value="tofit"> This will force the video to fit in with its box. The box surrounds the entire embedded movies and the size of this box was determined by the values of the height and width. If you reduce the size of the movie then you will notice that there is a gray background that can be seen behind the movie. You can change this background color if you want (see below).

<param name="scale" value"aspect"> This will force the video to fit in with its box, but still maintain the correct aspect ratio.


Changing The Movies Background Color

Once you reduce the size of the embedded video, the remaining background that is shown through will be colored gray. You can change the color with the code:

<param name="bgcolor" value="color"> Where color will be the color that you want to use.


Disable/Enable Looping Of An Embedded Video

You can make an embedded video replay itself once it finishes by using the following code:

<param name="loop" value="true">

Template Design | Elque 2007