Hi,

I've read the instruction, watched a video, read again the instructions... nothing works. I'm just trying to get the default player to work for 1 mp3 in a block showing only on the front page (www.marie-eve-boucher.com).

I'm quite shure that the module is well configured. I think that the filters are ok. SWFObject2 is selected and «working» (all reports are «green»). For now, I can see 2 sources of errors:

1) the mp3 is not located at the right place (there is a copy at sites/default/files/name.mp3 AND another copy at sites/all/modules/swftools/shared/name.mp3).

2) I'm trying to embed the default player in a block: what is the syntaxe to use to «call» the mp3? The html code I use is probably not good: this is what I wrote in the body of the block: .

I'm using the Gogland theme with Firefox and/or Safari.

Thanks for your help.

Comments

Anonymous’s picture

Here is what you need to do in order to add the default player in a block.

  1. enable swftools and swfobject2 (download the library and extract it in the sites/all/libraries folder)
  2. goto "admin/settings/filters/1" and enable the "SWF Tools filter", click "Save configuration".
  3. goto "admin/build/block/add", fill the required fields, select the "Filtered HTML" input filter and paste this code in the block body: [swf file="homepage.mp3"]
  4. now copy a mp3 file to the "sites/default/files" folder and rename it to "homepage.mp3"
  5. thats about all...
Québec’s picture

Using the «error fonction» in Firefox, I can see a few lines in red saying: «error: swfobject is not defined». If I clic the link, I get this line in the page code that is highlined:

swfobject.embedSWF("http://www.marie-eve-boucher.com/sites/all/modules/swftools/shared/gener...", "swfobject2-id-12830149341", "30", "31", "7", "", { "file_url": "http://www.marie-eve-boucher.com/sites/default/files/homepage.mp3", "autostart": "true" }, { "swliveconnect": "default", "play": "true", "loop": "true", "menu": "false", "quality": "autohigh", "scale": "showall", "align": "l", "salign": "tl", "wmode": "transparent", "bgcolor": "#FFFFFF", "version": "7", "allowfullscreen": "true", "allowscriptaccess": "sameDomain", "base": "http://www.marie-eve-boucher.com/sites/default/files/", "src": "http://www.marie-eve-boucher.com/sites/all/modules/swftools/shared/gener...", "height": 31, "width": 30 }, { "id": "swf12830149341" });

I just cant see why it wont play the mp3. Is it because the mp3 is to «heavy»? I loaded the mp3 file using ftp. Do I have to use an upload module? Can the theme (gogland) conflict with the «swf» fonction? CKEditor does not seem to work with gogland (I use CKEditor on another site).

I tried to change the order of the filters... I got tons of code line. Is it a conflict with Firefox?

In admin/reports/swftools everything is green, but the test is still not working.

Still trying to make it work... Thanks for your time and help. R.

Québec’s picture

Can the size of the bloc be an issue? How about the theme?

Sorry... I just cant see what is the problem...