flv
flv - embeds an flv video. This function requires AC_RunActiveContent.js and rac.js. If you use it, make sure you use the flvheader function in the head section of your html document.
Description
void flv (string $movie [, int $width [, int $height [, string fgcolor [, string bgcolor [, boolean $autoplay [, boolean $autoload [, boolean $autorewind [, int $volume [, boolean $loop [, boolean $mute [, boolean $muteonly [, string $clickurl [, string $clicktarget ]]]]]]]]]]])
Parameters
movie - The path of the flv file to send to the player. May be relative or absolute.
width - The desired width of the player. If not specified or set as -1, the function will use the width provided by the getflvsize function. If used, height must also be specified, and a value other than -1, otherwise, both values will be ignored.
height - The desired height of the player. If not specified or set as -1, the function will use the height provided by the getflvsize function, plus 40px for the player’s controls. If used, width must be specified, and a value other than -1, otherwise, both values will be ignored.
fgcolor - The foreground color of the player. Defaults to 0×13ABEC.
bgcolor - The background color of the player. Defaults to 0×051615.
autoplay - If set to true, the movie will begin playing as soon as it has started to load - otherwise it will require the play button to be pressed. Defaults to false.
autoload - If set to true, the movie will load automatically - otherwise it will require the play button to be pressed. Setting this to false can save bandwidth and make pages with multiple videos run better. Defaults to true.
autorewind - If set to true, the movie will return to the beginning after it has completed - otherwise it will stay on the last frame. Defaults to true.
volume - The starting volume of the player. This can later be changed by the user, unless muteonly is set to true. Defaults to 70.
loop - If set to true, the movie will restart after it has completed - otherwise it will stay on the last frame or go back to the beginning, depending on the value of autorewind. Defaults to false.
mute - If set to true, the movie will start muted - otherwise it will start with volume equal to the value of volume. Defaults to false.
muteonly - If set to true, the player will use the old style volume toggle - otherwise it will use the volume adjuster. Defaults to false.
clickurl - If set, clicking the video will take you to this url.
clicktarget - Used only if clickurl is specified, set to ‘_blank’ to open in a new window, ‘_self’ to open in the current frame or ‘_parent’ to open in the current window. Be aware that some popup blockers will prevent opening in a new window.
January 24th, 2008 at 3:36 am
Is there any implementation of OS FLV with ColdFusion that you know?
Thank you very much.
Walter Conti
January 28th, 2008 at 11:29 am
None that I know of. If I get a chance I’ll port it - got to get a copy of Cold Fusion first.
February 7th, 2008 at 10:26 am
Do you know of a way to start the player playing a .flv file, but only have it play for 10 seconds and then stop?
March 5th, 2008 at 5:48 am
Does the FLV player support RMTP locations?