Hmm, are you having problems with the large mp3 player or the small player or both?
What happens when you try adding an existing mp3 file to a different section of your course?
Could you post a sample mp3 file that you are having problems with?

I assume that it looks at the extension of the file/resource, and then loads the flash player accordingly. Can anyone point me to where in the code it looks at the file name.
To give a little history, my exisint/old mp3 files that I uploaded in earlier verisons of moodle work fine, but anything new I upload just gets processed as a dumb file with a dialog that asks what I want to run it in. Clues, hints, pointers?
Marcus
I assume that it looks at the extension of the file/resource, and then loads the flash player accordingly. Can anyone point me to where in the code it looks at the file name.
To give a little history, my exisint/old mp3 files that I uploaded in earlier verisons of moodle work fine, but anything new I upload just gets processed as a dumb file with a dialog that asks what I want to run it in. Clues, hints, pointers?
I am trolling through the mediafilter code at the moment, but hints are always helpful...
Marcus
sorry

Bye,
Bernard
"Put resource in a frame to keep site navigation visible"
checked as on.
Once I unchchecked it the file runs in the flash player.
Many thanks for the feedback I have on this. Is this the type of thing that should go in some documentation, wiki? Or perhaps another litte yellow question mark button that explains the implication of that check box.
I vote for the adoption of PHPDoc style comments for all coding.

Just kidding, once I had realised what was going on I figured the way it worked was probably logical. However working on the "don't make me think" principle (or is that "assume the user is not very good at thinking"), I wonder if there is somewhere to point out the impact of that checkbox on filtering?.
By the way, I think that whole mp3 filtering/flash thing is absolutlely brilliant, wonderful and marvellous.
All Pumped for Moodle Moot 05
I had the same problem as Marcus, on both a Mac and a Windows computer. Luckily, I figured out the same solution he did, though sooner. However, I would like to take advantage of the "feature" you imply, allowing my preferred media player to play an mp3 file. How can I make that work? (My university is using Moodle version 1.5.2)
Also, am I understanding that the media player Moodle selects, when I do not have the fle open in a separate frame, is a Flash player? if so, does my site administrator have the option of selecting a different default player?
Any suggestions or info would be much appreaciated.
The checkbox that Marcus refers to may be found in the window settings on the editing resource page.

It is much slower to open all the files with an application.
I want students to be able to listen quickly to all the submissions to a forum. If they can open them in the browser this becomes possible. Sorry to keep bugging you all, but if anyone has any ideas, they would be greatly appreciated.
Kind regards,
Eric Hagley
I wanted to do this and a very kind soul showed me how the other evening - you can use the 'link' function within a text box. Providing the multimedia filter is enabled on your version of Moodle (go to Configuration and then filters), you will see the file as a 'playline' which you can play without having to download it.
Hope that helps.
Val, thanks for your reply. I can see what you have done here and know how to do it. But it is making an extra step (more than one!) for students to do. My students from a variety of different countries already have plenty of work to do just to get the recording posted to the forum - that is all I want them to do. If, after they highlighted a word, they could push the "insert web link" button and browse their hard drive and upload the recording that way, well that would be great. At the moment, when a student clicks the "insert web link" they cannot do that. They obviously can't access site files either - I don't want them to be able to! But If they could browse their hard drive then of course I would be asking them to insert the link. That would be great if it could be achieved.
At the moment though, I think there should be some way of just clicking on the "mp3" and for it to start in a new tab (Safari/firefox) or on the side of the browser (explorer). That is what was happening with 1.4.x . I would like to know how it can happen in 1.5.2.
Again, any ideas would be greatly appreciated as there are already over a hundred student mp3 files on the site and the semester has only just started! I would like to listen to them without having to download them onto my computer!
Regards,
Eric Hagley
Interesting what you said there because I actually had trouble linking to your file - I downloaded it and saved it onto my hard drive and then tried link it from there which meant I had to upload it again but I wasn't able to ( I guess because of some restrictions that prevented me getting access to my hard drive) so..........
I actually made the link by right clicking on your mp3 file in your message, clicked on 'copy link location' and then pasted that into the box for the link and hey presto! it worked.
Is that what you want them to be able to do?
Val
I have been searching for a solution to the same problem. I teach ESL students who have limited English proficiency as well as limited computer proficiency, so I understand why you want to keep the number of steps for students to a minimum.
Have you found a solution to this since your last post? It would be great if the mp3 player would appear when an mp3 file is uploaded as an attachment to the forum post.
All the best,
Eric
The "attached file" was bigger than the upload limit. I'll send it to you by mail. Eric
Dear Eric Hagley
I posted a bug about this a while back because I agree that it would make it a lot easier for students to be able to post audio, and have a chat forum, if attachements were linked.
One way to get around the problem is to upload it as an attachment, click it to save the URL and then edit the post entering a link to the file that one has just attached, as here
I now realise that "put in a frame" prevents the player from appearing. I agree that mp3s on forums should be filtered. I think it would be a good idea if resources could be filtered on the course page too. I don't understand why
Tim
In Firefox the first file plays automatically when the page is refreshed but the second one does not play at all.
The second file does play in Windows Media Player, and now that I have removed the "put in frame" for all my link resources, I find that it does play in the large MP3 player on a seperate page.
I am searching the forums. I used to have problems with using the wrong kind of mp3 files (at the wrong bit rates) that play too fast in flash but this seems to be different.
Fascinating. Now it when I embed it using Firefox, I find that I can only play it once! This is great. I have always wanted files that I can only play once. But I doubt if it is a reliable feature.
Now I have found some files that do not play in flash or media player from my server (via moodle) but they do play when I click them on my hard disk.
Tim
I'm sorry I am confused by your findings... Please could you summarise the problem, perhaps providing sample files.
Thanks Helen
Some files play in windows media player but do not play in the flash media player, despite the fact that they seem to have the same settings (sample rate, bit rate).
The ability of the flash player to play mp3 files also seems to depend upon whether one uses the small or big mp3 player. Perhaps. Because in my course the first of the two files above is playable in the large mp3 player but not in the small one.
Of course, I may have some incorrect settings somewhere.
Tim
Hmm... I've tested your mp3 files - they play fine in both the big and small mp3 players.
Just wondering whether you've made any changes to the following code in your theme config.php?
$THEME->resource_mp3player_colors =
'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes';
/// With this you can control the colours of the "big" MP3 player
/// that is used for MP3 resources.
$THEME->filter_mediaplugin_colors =
'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
'waitForPlay=yes';
/// ...And this controls the small embedded player
Thank you very much Helen!
I have no idea why my audio is not playing right. I have not changed the theme but I am using the humboldt mac-freindly theme so there is a chance that someone else changed it. I will look into that. I have a 14 week course with 4 audio files per week. But some of the audio files do not play.
More simply, in my post above "There does not seem to be any difference in the setting between these files" do the files play for your here at moodle.org? They do not play for me. The flash player is there but nothing happens when I press the paly button.
Tim
Regarding files 1 and 2 in your previous post, no they don't play in your post, however if they are downloaded then uploaded to my Moodle site then they play fine.
Let me try linking to them here from my Moodle site...
Hmm, is there perhaps an issue with your server permissions?
Edit: Please check the discussion Choppy audio with MP3 player? too.
Hi All,
I am unable to get the MP3 File to play after adding it as a resource in Moodle lesson.
I do not see the upladed and linked resource.
My multimedia plugin is activated
Can you help me in identifying where I am going wrong,
Garry