You are here

function swfobject_swftools_methods in SWF Tools 6

Same name and namespace in other branches
  1. 5 swfobject/swfobject.module \swfobject_swftools_methods()
  2. 6.2 swfobject/swfobject.module \swfobject_swftools_methods()

SWF Tools - SWFObject

Enables the use of 's swfobject.js which provides image replacement for Flash content. swfobject.js must be downloaded separately. (Add the contents of the zip file to swftools/shared/

Author's Site. http://www.airtightinteractive.com/simpleviewer/

File

swfobject/swfobject.module, line 14

Code

function swfobject_swftools_methods() {
  $methods = array();
  $methods[SWFTOOLS_EMBED_METHOD]['swfobject_replace'] = array(
    'name' => 'swfobject_replace',
    'module' => 'swfobject',
    'shared_file' => 'swfobject/swfobject.js',
    'title' => t('SWFObject 1.5 - JavaScript'),
    'download' => 'http://blog.deconcept.com/swfobject/#download',
  );
  return $methods;
}