I've javascript error on my front page

'AudioPlayer' is undefined

Why is that?
javascript code:

AudioPlayer.setup("/sites/all/modules/contributions/mp3player/mp3player/player.swf", {width:290,transparentpagebg: "yes"});

When I'm going to this url, there is player.swf

Comments

jdelaune’s picture

Can you see it including the other JS file as well in the header?

Are your javascript files being included in the head or near the closure?

jdelaune’s picture

Assigned: Unassigned » jdelaune
Status: Active » Postponed (maintainer needs more info)

Any update on this?

Make sure you also have 'audio-player.js' in the same directory as your player.swf

Thanks

kenorb’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm not able to reproduce it now, probably I've put the wrong version of swf file.
WordPress plugin instead of Standalone, but I'm not sure;/
Sorry for that.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.