This project is not covered by Drupal’s security advisory policy.
SWF Embed module should be used as a replacement for this.
There are two versions of this module which support the 1.5 and 2.x versions of SWFObject. Currently development is switching to support the 2.x versions, please use the 2.x versions of the module. Drupal 6+ versions will only support SWFObject 2.x and higher.
This module provides an easy theming function (which is compatible between both 1.x and 2.x versions of the module) which makes adding SWF files a snap:
<?php $url = "myflashfile.swf"; //path to flash file $params = array('width' => 100, 'height' => 100 ); $vars = array( 'file' => base_path() . path_to_theme() .'/files/song.mp3', 'image' => base_path() . path_to_theme() ./files/image.jpg', ); print theme("swfobject_api", $url, $params, $vars); ?>
To use this module, you must download the SWFObject library and place it in the swfobject_api module directory.
This module is different than the swfobject.module as it is specifically designed to implement an API only. If you want to add flash blocks, you might want to look at that module.
This module is partially supported by CivicActions.
- Maintenance status: Unsupported
- Development status: Obsolete
- Reported installs: 455 sites currently report using this module. View usage statistics.
- Downloads: 24,035
- Last modified: December 2, 2014
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.