Media files in a hotpot

Re: Media files in a hotpot

by Gordon Bateson -
Number of replies: 0
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Mariana,
season's greetings to you !

to add an IMAGE:

  1. add a link from the "Source file" files area of your HotPot activity in Moodle, to the image file in the repository
    • go to your Moodle course page
    • switch into edit mode
    • click edit icon for your HotPot activity
    • in "Source file" files area, click "Add"
    • choose repository
    • choose image file
    • when prompted select "Create alias/shortcut"
    • click "Save changes" button and return to course page
  2. add the image to the Hot Potatoes file by copying and pasting the following HTML - change the jpg file name to the name of the image you want to use wink
    <img src="my_image.jpg" />

to add AUDIO file:

  1. add link from HotPot activity's "Source file" files areas to the audio file in the repository (similar to adding image as described above)
  2. add the audio to the Hot Potatoes file by copying and pasting the following HTML - change the mp3 file name to the name of the audio file you want to use wink
    <a href="my_audio.mp3">my_audio.mp3</a> 
  3. you may need to switch the "Use media filter" setting to "Moodle's standard Moodle filter" (see screenshot)

best regards
Gordon

Attachment Screen Shot 2012-12-28 at 12.15.07 PM.png
Average of ratings: Useful (2)