Hi everyone,
I have successfully embedded an mp3 file in a web page in my moodle course using the following snippet of code:
<div style="text-align: center;">
<object height="27" width="380" data="http://www.google.com/reader/ui/3523697345-audio-player.swf" type="application/x-shockwave-flash"> <param name="src" value="http://www.google.com/reader/ui/3523697345-audio-player.swf" />
<param name="FlashVars" value="audioUrl=
<audio src="http://moodle.barbhall.com/PianoTechnology/file.php/2/objective41b.mp3" controls="true" preload="none" style="width: 380px;"></audio>
</object></div>
I'm doing this so that students can view the forum from an iphone or ipad, and from their computers. I do realize that moodle has a filter for mp3 files, but unforunately they don't display on an iphone, so I've decided to embed a player instead with html5 fallback.
Even though this displays correctly in the actual course material, it doesn't display in the forum introduction. When I switch to html code in the forum introduction box, the above snippet is there, and the player is displayed when html mode is switched off, but when I click save and display, the player doesn't display.
Do I need to enable something somewhere in administration to allow this? I'm using Moodle 1.9.9
Thanks,
Barb