Thank you for this excellent hotpot module.
I have to use a http static(http://www.yourdomain.com/folder/file) url for the images and sound to work. I have tried to upload the image and sound files in the hotpot folder where the hotpot quizes are stored but it doesn't work.
When viewing the hotpot activity I see a place holders for images but no images. hotpot is trying to locate the images in a url like this:
I think a wrong slashargument is being used in hotpot module. It needs to be file.php?file=/
It replaces the hotpot.php file found in moodle/mod/hotpot/
Now hotpot is trying to locate the image at this url:
The image isn't there so it doesn't show. Same go's for mp3 file.
from my experiments (using Moodle 1.4.3 and the HotPot module v.20040305), the graphics and videos work OK in a HotPot quiz as long as you have the mediaplugin installed (download from http://moodle.org/download/modules/#filters) and enabled (add to the list of Filters in Admin Configuration Variables) and use a <BASE> tag in the head of the HotPot quiz.
I tried creating a HotPot quiz using a gif in one question and an mpg in another. The links were specified relative to the quiz file, like this
- insert a <BASE> tag into the HotPot quiz
- Options->Configure Output->Custom, Code for insertion into <HEAD> tag
- <BASE href="http://your-server/moodle/file.php/xx/">
- "xx" is the course number, and I think the trailing slash, "/", is important
- link for the image file:
- link for the video clip:
Watch <A href="images/images-and-videos/q2.mpg" target="_blank">this video</A>
I uploaded the quiz and media files to the Moodle server using the "Files" menu option for the course.
I could then view the quiz "raw" (i.e. not via the HotPot module)
... but the mpg file did not play
The key to solving that problem was to ensure the media plugin was installed (check there is a "mediapugin" folder in Moodle's "filters" folder) and then enable it (from the site's front page, choose Configuration->Filters, then move "Multimedia Plugins" to the "Active" list)
I was then able to view the video clip
Next, I used Tom's HotPot module (not the most recent one) to add the quiz to the course as a "Hot Potatoes Quiz". Both the image and the video clip displayed wihtout a hitch. Here's the quiz:
hope this helps, and if you have time to report back to this thread on what happened, I would be very interested to read about it
Can the grading be incorporated into the moodle
data-base? This file loaded in about 3 min. with cable
modem in US. Thanks.
this Gordon Bateson again. I have been in contact (offlist) with Tom and am working with him to try to find a way round this problem.
I would like to see the phenomena you are describing first hand, and so I wonder if you could pass on the URL of your website to me, either via this list or a personal email to gordon at-sign kanazawa hyphen gu dot ac dot jp ?
many thanks in advance