Here is an example of HTML usage of the player:

<object type="application/x-shockwave-flash" data="player_flv.swf" width="320" height="240">
     <param name="movie" value="player_flv.swf" />
     <param name="FlashVars" value="flv=test.flv" />

In this example, the size of the video is not set. The size of the player is 320 by 240. If you change these parameters, the video size will also change.


Parameter nameParameter description
flv The URL of the FLV video to be played.
width Forces the video width.
height Forces the video height.
autoplay 1 to auto-play
autoload 1 to automatically load
buffer The number of seconds to buffer. By default set to 5.
config The URL of the configuration text file, similar to flv_config.txt
configxml The URL of the configuration XML file, similar to flv_config.xml
title The title shown before loading the video
margin The margin of the video with respect to the Flash object. (useful for skins).
srt 1 to use SRT subtitles (the file must be at the same place as the video and have the same name, with .srt extension)
showstop 1 to show the STOP button.
showvolume 1 to show the VOLUME button.
showtime 1 to show the TIME button
loop 1 to loop.
startimage The URL of the JPEG file (not progressive) to be shown before loading the video
skin The URL of the JPEG file (not progressive) to load
playercolor The background color of the player bar (not the flash)
loadingcolor The color of loading bar
bgcolor The background color
bgcolor1 The first color of the background gradient
bgcolor2 The second color of the background gradient
buttoncolor The color of the buttons
buttonovercolor Hover color of buttons
slidercolor1 The first color of the bar gradient
slidercolor2 The second color of the bar gradient
sliderovercolor Hover color of the bar
loadonstop 0 to stop the video loading by cliking on STOP button
phpstream 1 to use php stream

Keyboard shortcuts

P Play/Pause
S Stop
left 5 seconds backward
right 5 seconds forward


To control the player with Javascript, it is necessary to add an id in the <object> tag, in order to identify the Flash.

These are the available actions:

document.getElementById("myFlash").SetVariable("player:jsPlay", "");

document.getElementById("myFlash").SetVariable("player:jsPause", "");

document.getElementById("myFlash").SetVariable("player:jsStop", "");