Index
Goals
Caveat
Downloads
Changelog
Usage
Encoding
Examples
Customize
Options lists

Options

Options list that may be overriden by param tag or by JavaScript:

eg: fix the sound bitrate to 128kbps instead of the default 32kbps: <param name="FlashVars" value="my_bitrate=128" />

// default bitrate of .mp3 file (may be overriden by parameter)
my_bitrate = SDV(my_bitrate, 32);
// minimum sound buffer time (except if file already fully loaded)
// must be high enough to give time and get realistic average bandwith
// but it must be low enough to not penalize broadband users that don't need buffering
my_defaultSBT = SDV(my_defaultSBT, 5);
// minimum Dial up connexion buffer time
my_minDialUpSBT = SDV(my_minDialUpSBT, 8);
// Buffer Testing delay in ms
my_BTD = SDV(my_BTD, 500);
// Launch delay in ms (= how often with must check if a new url is given)
my_launchDelay = SDV(my_launchDelay, 500);
// How many bandwith tests shall we do before displaying the buffer
MinimumTestsBandwith = SDV(MinimumTestsBandwith, 6);
// buffer security factor. 1=no security; 1.4 = 40% security
my_security = SDV(my_security, 1.4);
// sound init (you may want to replace it with a default sound loaded by default)
file = SDV(file, 0);
// Volume step
my_volStep = SDV(my_volStep, 15);
// some colors
my_color1 = SDV(my_color1, 0xDFE7FF);
my_color2 = SDV(my_color2, 0x5A6BA5);
my_color3 = SDV(my_color3, 0xFFFFFF);
my_color4 = SDV(my_color4, 0x3C466F);
my_color5 = SDV(my_color5, 0xD03524); //red
my_color6 = SDV(my_color6, 0xDFAC42); //orange
my_color7 = SDV(my_color7, 0x25CF8F); //green
my_color8 = SDV(my_color8, 0xBBBBBB); //grey
// allow Background color changing
ChangeBackgroundColor=SDV(ChangeBackgroundColor, true);
// color of background
my_BackgroundColor=SDV(my_BackgroundColor, my_color1);
// Bandwith informations displayed next to playing status
BandwithStatusDisplayType=SDV(BandwithStatusDisplayType, "value"); // "value"=display realtimeBandwith in kb, "color"=display a colored circle, "none"=nothing diplayed
// loop ability
my_loop = SDV(my_loop, false); // do we want to loop ?
my_show_loop = SDV(my_show_loop, my_loop); //display loop button ?
my_loop_delay = SDV(my_loop_delay, 1000); // delay to wait for between 2 loops (in miliseconds)
//activate fscommand properties (send launch and start event to JS)
ActivateFSCommand = SDV(ActivateFSCommand, false); //advanced users only
// Launch sound as soon as loaded
autolaunch = SDV(autolaunch, false);
/**** language ****/
l_loading = SDV(l_loading, "Loading");
l_notFound = SDV(l_notFound, "Not found");
l_playing = SDV(l_playing, "Playing");
l_complete= SDV(l_complete, "Complete");
l_paused = SDV(l_paused, "Paused");
l_stopped = SDV(l_stopped, "Stopped");
l_loop = SDV(l_loop, "Loop");
/******************/