I think your question is how to put an audio file in a question. Here it is how you can do it.
- Prepare your audio file in mp3 format on your machine.
- Start editing your question the usual way.
- In this text the audio player will replace the word "put".
- Select the word "put" and press the button.
- When the insert window comes up locate the mp3 file on your computer, upload and choose it .
- The "put" word will turn into a link.
- You won't see the player here but don't panic.
- You have to delete the "put" link. For this change the editor into HTML mode clicking on the button.
- And now this is the worst part if you don't write HTML code. Locate in the text in the link that consists of the word "put". It looks like this:
The player is <a title="mp3" href="http://ceptap.com/pictures/0000704.mp3"">put </a>here. - Delete the word "put". The rest is:
The player is here. - Go back to the normal editor window pressing again the <> button.
- Your sentence now is:
The player is here.
It's really there but cannot be seen. - Finish your question, and close the editor window. Your question will look like this:
This is the question which consists of an audio file.
The player ishere.
That's how it can be done. One more important thing. I guess you want to ask more than one question using the same audio file. The only way you can do it to choose the Embedded Answers (Cloze) type question.
Have fun: Gyorgy
For example, instead of typing "put," I'll just hit the space bar two or three times. You can select and link to the space just as you can a word and you eliminate the extra step of deleting the text.
To cover all of the bases for Antonella though, I will add that if you would like to embed audio in the choices of the multiple choice question, that is possible too. You are not limited to audio in just the question itself.
To add audio or images to the answer choices, you have to enter the HTML code into the text field since there is no HTML editor there. Since I don't know HTML well enough to enter the code from memory, I will use the process Gyorgy described above in one of the feedback boxes (or somewhere with the HTML editor) and then at step 8, where you toggle to the source code, the difference will be that you just want to copy (and then delete) the code that is there and paste it into the answer field. Again, the same process works for adding images or video.
One word to your solution of using spaces instead of deleting the link completely. The problem is if you use spaces the link is still on the page it just cannot be seen. But if somebody accidentally moves the mouse cursor over the spaces the arrow turns into hand cursor and clicking the left button the file can be downloaded. So it is not safe if you want to prevent your students from downloading the files.
Gyorgy
Joseph
PS.- I use Moodle quizzes for teaching/learning purposes, not for testing.
Of course you are right, but in my opinion the tests are not the places to download files. Simply the consistency of the questions and the look and feel that I bear in mind when I'm talking about the unnecessary links. For example I use an HTML block along my course where all downloadable materials are summed up.
My primary objective in using the spaces is to simplify things for the learner--so all they see is the player for the audio. I've found that if I link to text, learners will often click on that as well--not realizing that it is the same file in the player.
I do occasionally run into users who want to limit the ability to download proprietary audio, so knowing how to eliminate that link will likely be useful to some as well.
Thanks a lot for these steps. It works in 2.8.5 also... Very useful answer !
S - here is the documentation on Audio
Next to the player , there is always the phrase (mp3 audio) .
Do you know any way to remove it ?
And also how can you choose the type of the icon(player that appears)?
Thanks in advance.
1.- Can you post a screenshot please?Next to the player , there is always the phrase (mp3 audio) .
Do you know any way to remove it ?
2.- That is the standard moodle mp3 flash player. If you want to use another player, there are plenty available on the Web.
Joseph
Hi All,
I followed the procedure mentioned by Gyogy. It was fine earlier i think. But now two audio players come up . One the black small one and another big blue one.
Please somebody guide on this
Sounds like you have both the Multimedia filter and the PoodLL filter setup to play mp3's. Turn one of them off. If you are using Moodle 2.9, you can turn individual filters on/off for the quiz instead of for the whole Moodle site.
Hi Al,
Yes, that was the issue. Now i get only 1 audio player. Thanks.
I'm having the same problem. I can't get rid of the "mp3 audio" text that appears in front of the player.
The audio player works just fine but the problem is that if a students happens to click on the "mp3 audio" link, it opens up a new window and I don't want the user to navigate away from the course.
I have tried to install other media players but haven't been successful. Any recommendations?