flowplayer.bwcheck.js is a JavaScript plugin for generating a bitrate selection user interface. You can see it in action here.

A template of the listing can be set in the html of the set wrapper, and using special variables can be replaced with the required fields.

If the default stream selection strategy is used, it will check the width of the player and the bitrate width and disable the bitrate selections larger than the player width along with info text.

Here are the CSS classes used to the style the user interface:

property / datatype default description
selectedBitrateClass
string
bitrate-selected The selected bitrate link class.
activeClass
string
bitrate-active The active bitrate link class.
disabledClass
string
bitrate-disabled The disabled bitrate link class.
bwCheckPlugin
string
bwcheck The name of the bandwidth check plugin in the player configuration.
template
string
{bitrate} k The template config to be used for generating the links. The fields of the bitrates clip config are used as the template variables ie {bitrate}. If the wrapper has the template set, it will be used instead of the template config.
disabledText
string
(not valid with this player size ) The text to display if the item is disabled due to size constraints and the selection strategy.
fadeTime
int
100 The interval time for fading the wrapper in and out. Useful for hiding the wrapper if a template is set in it.
seperator
string
A seperator character to use for seperating the links ie
or | .