This could also be the "It look's like you don't have Adobe Flash Player installed" series of issues. I get that message after an install of mp3player following your inspiring video.

In the javascript error console of firefox I get an error "AudioPlayer is not defined" for lines 40 & 200 of the page. Line 40:

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

and line 200:

                    <p id="mp3player_1">It look's like you don't have Adobe Flash Player installed. <a href='http://get.adobe.com/flashplayer/'>Get it now.</a></p><p class="mp3player_description">Straw Bonnet played by UIS group</p><script type="text/javascript">AudioPlayer.embed("mp3player_1", {soundFile: "/drupal/sites/default/files/UIS_Jam-Straw_Bonnet.mp3"});</script> 

I have both the audio-player.js and the player.swf files in the /drupal/sites/default/modules/mp3player/mp3player directory, and I can get to them directly.

I get the feeling that I missed something simple.

Comments

vrteach’s picture

Status: Active » Closed (fixed)

Got it! I had downloaded the wordpress version, not the wordpress standalone version of the player.

Great module! I have plans.

seanr’s picture

Status: Closed (fixed) » Active

I'm getting this with the standalone version. The ideal place for JavaScripts to be loaded is at the bottom of the page:

http://developer.yahoo.com/performance/rules.html#js_bottom

Moving $scripts back up into the header does allow the module to work, but is obviously not ideal. Your module should probably be using jQuery or something to make sure that it doesn't call the audio player functions until AFTER all of the sites JavaScript has loaded. Most other modules out there handle this with no difficulties whatsoever.

seanr’s picture

Title: AudioPlayer is not defined » New release needed for already committed fix for AudioPlayer is not defined
Version: 6.x-1.x-dev » 6.x-1.0-beta1
Category: bug » task

Looks like you fixed this in the dev branch but never posted an official release. It would be helpful if you could do that as soon as possible.

markie’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Issue summary: View changes

This branch is no longer supported. Please try the new dev version and let me know if this issue persists.

markie’s picture

Status: Active » Closed (cannot reproduce)