function swftools_onepixelout_swftools_methods in SWF Tools 6.3
Implementation of hook_swftools_methods().
File
- onepixelout/
swftools_onepixelout.module, line 11 - Enables SWF Tools support for the original OnePixelOut player.
Code
function swftools_onepixelout_swftools_methods() {
$onepixelout = array(
'module' => 'swftools_onepixelout',
'title' => t('1 Pixel Out MP3 Player'),
'download' => 'http://downloads.wordpress.org/plugin/audio-player.1.2.3.zip',
'width' => 290,
'height' => 24,
'library' => swftools_get_library('audio-player') . '/audio-player/player.swf',
);
// Onepixelout support various actions with the same player and info.
$methods['audio']['onepixelout'] = $onepixelout;
return $methods;
}