In trying to use the module in an install profile, using drupal_get_path causes errors. This patch fixes it to behave exactly the same, but also be compatible with install profiles.

Please review and let me know if there are any questions.

CommentFileSizeAuthor
swfobject_api_requirements.patch730 bytesfebbraro
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jantoine’s picture

Version: 6.x-1.0-beta1 » 6.x-1.0-beta2

The patch found at #794436: swfobject.js file location also fixes this issue as it relies on the Libraries API to verify the existance of the swfobject library.

Cheers,

Antoine