You are here

function theme_swftools_flowplayer3_accessible in SWF Tools 6.3

Returns markup to enable accessible controls for Flowplayer 3.

Parameters

string $id: id of the player to be made accessible.

int $visible: Whether the controls should be visible. Options are one the following constants:

Return value

string Mark up to place accessible controls on the page.

Related topics

1 theme call to theme_swftools_flowplayer3_accessible()
swftools_flowplayer3_swftools_preprocess_flowplayer3 in flowplayer3/swftools_flowplayer3.module
Implementation of hook_swftools_preprocess_[player]().

File

flowplayer3/swftools_flowplayer3.module, line 696
Enables SWF Tools support for Flowplayer 3.

Code

function theme_swftools_flowplayer3_accessible($id, $visible) {
  $actions = array(
    'play' => t('Play'),
    'pause' => t('Pause'),
    'mute' => t('Mute'),
    'unmute' => t('Unmute'),
    'stop' => t('Rewind and stop'),
  );
  return theme('swftools_accessible_controls', 'flowplayer3', $id, $actions, $visible);
}