Poodll gives you a lot of flexibility to handle media. This comes with a little complexity, though we have tried to get it as close to automatic as possible. Lets look at the steps involved in setting up mp3 handling. The same principles apply to other file extensions like mp4 and webm. And you can even register custom extensions if you wish.
- Ensure the PoodLL filter is enabled
- Create an audio player template
- Register the audio player template as the .mp3 file handler
Ensure the PoodLL filter is enabled
The PoodLL filter needs to be enabled so that it can process pages in Moodle and generally do its magic. To enable/confirm the PoodLL filter go to:
site administration -> plugins -> filters ->manage filters
Set the “Active” column to “On.” It is best to order the PoodLL filter higher in the list of filters than the Multimedia plugins filter to avoid them both trying to create players from the same mp3/mp4 files.
Create a player template to handle mp3
PoodLL comes with a ready made audio player template, “audiojs.” But it also comes with several presets for creating new audio player templates, these include “Mediaelement Audio,” “Elton Player,” “Once Player” and “Adam Player.” If you are happy to use “Audio JS,” then you don’t have to do much more. Confirm that the template exists and skip to the next step. You can see all the existing templates at:
site administration -> plugins -> filters -> poodll filter -> templates
To create a new player from a preset, go to an unused template page. These have no name, just a number e.g “Template: 27.” From the top most control you can select from a list of presets ..
Choose an audio player, e.g “Mediaelement Audio”. The template page will fill in automatically. Save the template.
Register the audio player template
Visit the PoodLL file extension settings page at:
site administration -> plugins -> filters -> PoodLL -> File extension settings
You will see a list of file extensions and a drop down box for each one. Check the “handle mp3” checkbox and choose your audio player template from the drop down list.
Save the settings and thats all that needs to be done. Your .mp3 files in Moodle should be handled by the PoodLL filter and the player template you assigned.