Two problems here..
- url() should not be used for the .swf file because it's a real file and not a drupal path. Because that function will prefix the URL with a language prefix and therefore won't find the file anymore
- On the other hand, the data path can be simplified by using url().
See attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| fix_path_when_using_lang_prefix.patch | 1.8 KB | berdir |
Comments
Comment #1
rsevero commentedIt looks neat. Applied with http://drupal.org/cvs?commit=405460
Thanks for the report and patch.