function wijering4_swftools_methods in SWF Tools 6
Same name and namespace in other branches
- 5 wijering4/wijering4.module \wijering4_swftools_methods()
- 6.2 wijering4/wijering4.module \wijering4_swftools_methods()
Implementation of swftools_methods hook Report methods back to SWF Tools
File
- wijering4/
wijering4.module, line 20
Code
function wijering4_swftools_methods() {
$methods = array();
$media_player = array(
'name' => WIJERING4_MEDIAPLAYER,
'module' => 'wijering4',
'file' => 'file',
// Define which flashvar to assign a 'file to play' variable.
'version' => '7',
'shared_file' => 'flash_media_player/player.swf',
'title' => t('JW Media Player 4'),
'download' => WIJERING4_DOWNLOAD,
);
// Wijering support various actions with the same player and info.
$methods[SWFTOOLS_FLV_DISPLAY][WIJERING4_MEDIAPLAYER] = $media_player;
$methods[SWFTOOLS_FLV_DISPLAY_LIST][WIJERING4_MEDIAPLAYER] = $media_player;
$methods[SWFTOOLS_MP3_DISPLAY][WIJERING4_MEDIAPLAYER] = $media_player;
$methods[SWFTOOLS_MP3_DISPLAY_LIST][WIJERING4_MEDIAPLAYER] = $media_player;
$methods[SWFTOOLS_MEDIA_DISPLAY][WIJERING4_MEDIAPLAYER] = $media_player;
$methods[SWFTOOLS_MEDIA_DISPLAY_LIST][WIJERING4_MEDIAPLAYER] = $media_player;
$methods[SWFTOOLS_IMAGE_DISPLAY_LIST][WIJERING4_MEDIAPLAYER] = $media_player;
return $methods;
}