width
It sets the video width (in pixels). This parameter has to be an integer positive value.
The minimal value is 220 pixels.
This parameter is seen in the file and in the upper code. And so if you change its value you must change it twice.
height
It sets the video height (in pixels). This parameter has to be an integer positive value.
The minimal value is 120 pixels.
This parameter is seen in the file and in the upper code. And so if you change its value you must change it twice.
autoplay
It sets automatic or manual start of the video playback.
Possible values of this parameter:
If the value is 1 / true playback starts automatically after loading a web page, otherwise (autoplay=0 / false) playback starts after pressing the Play button.
autoload
It sets automatic loading of the video.
Possible values of this parameter:
If the value is 1 / true the video starts loading automatically, otherwise (autoload=0 / false) loading begins after pressing the Play button.
buffer
It sets a number of seconds to buffer.
title
It sets a title shown before loading video.
loop
It sets automatic loop playback.
Possible values of this parameter:
If the value is 1 flash player supports loop playback, otherwise (loop=0) it doesn't.
loadonstop
Set the value of this parameter 0 to stop video loading by clicking on the Stop button, otherwise set it 1.
margin
It sets a margin of the video relative to the Flash player.
If you set an integer positive value of this parameter a player frame is shown, otherwise it isn't.
For example, you set margin=5. In this case a frame of 5px width is shown on the periphery of the video.
If you set margin=0 there is no frame on the periphery of the video.
srt
This parameter lets show SRT subtitles.
If you want to show subtitles do the following:
1. Set srt=1.
2. Create or add a file with .SRT extention and UTF-8 encoding. The file must be at the same place as the video file and have the same name.
For example, if the video file is my_video.flv the name of its subtitle must be my_video.srt. You should create an .SRT file for each video file.
There are some FREE programs for creating SRT files:
Workshop
SubMagic
SubtitleCreator
SubCreator
If you don't want to show subtitles just set srt=0.
showstop
Set the value of this parameter 1 to show the Stop button, otherwise set showstop=0.
showvolume
Set the value of this parameter 1 to show the Volume Control, otherwise set showvolume=0.
showtime
Set the value of this parameter 1 to show the Time area, otherwise set showtime=0.
startimage
Defines URL of the JPEG file (not progressive) to be shown before loading video.
When the video is converted you get the file start_frame.jpg with a start image (a black rectangle).
If you want to set another start image do the following:
1. Put your JPG file into the same place as the video file.
2. Set the value of startimage as URL of your image.
playercolor
It sets a color of the player bar.
loadingcolor
It sets a color of the loading bar.
bgcolor
It sets a background color of the player.
bgcolor1
It sets the first (upper) color of the player background gradient (important only if it's set an integer positive value of the margin parameter).
bgcolor2
It sets the second (lower) color of the player background gradient (important only if it's set an integer positive value of the margin parameter).
buttoncolor
It sets a color of buttons.
buttonovercolor
It sets a hover color of player buttons.
slidercolor1
It sets the first (upper) color of the seek bar gradient.
slidercolor2
It sets the second (lower) color of the seek bar gradient.
sliderovercolor
It sets a hover color of the seek bar.
P
Play/Pause
S
Stop
left
5 seconds backward
right
5 seconds forward
PLAY
document.getElementById("myFlash").SetVariable("player:jsPlay", "");
PAUSE
document.getElementById("myFlash").SetVariable("player:jsPause", "");
STOP
document.getElementById("myFlash").SetVariable("player:jsStop", "");