function onepixelout_swftools_methods in SWF Tools 6
Same name and namespace in other branches
- 5 onepixelout/onepixelout.module \onepixelout_swftools_methods()
- 6.2 onepixelout/onepixelout.module \onepixelout_swftools_methods()
Implementation of swftools_methods hook Report methods back to SWF Tools
File
- onepixelout/
onepixelout.module, line 20
Code
function onepixelout_swftools_methods() {
$methods = array();
$media_player = array(
'name' => ONEPIXELOUT,
'module' => 'onepixelout',
'file' => 'soundFile',
// Define which flashvar to assign a 'file to play' variable.
'version' => '7',
'shared_file' => '1pixelout/player.swf',
'title' => t('1 Pixel Out MP3 Player'),
'download' => 'http://www.1pixelout.net/code/audio-player-wordpress-plugin/',
);
// Onepixelout support various actions with the same player and info.
$methods[SWFTOOLS_MP3_DISPLAY][ONEPIXELOUT] = $media_player;
return $methods;
}