Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Flashvars are currently limited to strings, but only because the code doesn't differentiate different value types; neither SWFObject or Flash have any limitations here. Changing the code to use drupal_to_js() instead removes that limitation and outputs the JavaScript equivalents of PHP variable types.
Comment | File | Size | Author |
---|---|---|---|
swfobject_api.patch | 463 bytes | smk-ka |
Comments
Comment #1
arthurf CreditAttribution: arthurf commentedI like it. Committed to DRUPAL-5, will appear in the next release.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.