You are here

function ufo_swftools_methods in SWF Tools 5

Same name and namespace in other branches
  1. 6 ufo/ufo.module \ufo_swftools_methods()
  2. 6.2 ufo/ufo.module \ufo_swftools_methods()

SWF Tools - UFO

Enables the use of Bobby Van der Sluis's ufo.js which provides image replacement for Flash content. ufo.js must be downloaded separately (add the whole zip file to swftools/shared/

Author's Site. http://www.bobbyvandersluis.com/ufo/

File

ufo/ufo.module, line 14

Code

function ufo_swftools_methods() {
  $methods = array();
  $methods[SWFTOOLS_EMBED_METHOD]['ufo_replace'] = array(
    'name' => 'ufo_replace',
    'module' => 'ufo',
    'shared_file' => 'ufo/ufo.js',
    'title' => t('UFO - Bobby Van der Sluis'),
  );
  return $methods;
}