You are here

function theme_swftools_wijering4_accessible in SWF Tools 6.3

Returns markup to enable accessible controls for the Wijering 4 player.

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_wijering4_accessible()
swftools_wijering4_swftools_preprocess_jwplayer4 in wijering4/swftools_wijering4.module
Implementation of hook_swftools_preprocess_[player]().

File

wijering4/swftools_wijering4.module, line 377
Enables SWF Tools support for LongTail Player 4. This module also works with LongTail Player 5.

Code

function theme_swftools_wijering4_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', 'wijering4', $id, $actions, $visible);
}