The Macromedia sound files.

Re: The Macromedia sound files.

by Gordon Bateson -
Number of replies: 0
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Dear Henny,
sorry to take a while to get back to you on this problem.

The media player in hte quizzes seem to display OK on IE, but not on Firefox. This is because Firefox requires <embed> tags inside the <object> tag which define the media player

I'm sorry I didn't fully understand this point before, so I gave you incomplete information in an earlier post:
http://moodle.org/mod/forum/discuss.php?d=26360&parent=124417

The complete code required to add the Moodle media player is as follows:

<object class="mediaplugin mp3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="90" height="15" id="mp3player"> <param name="movie" value="http://lesnet.minkema.nl/elo/moodletest/filter/mediaplugin/mp3player.swf?src=my-sound-file.mp3" /> <param name="quality" value="high" /> <param name="bgcolor" value="#333333" /> <param name="flashvars" value="waitForPlay=yes" /><embed src="http://lesnet.minkema.nl/elo/moodletest/filter/mediaplugin/mp3player.swf?src=my-sound-file.mp3" quality="high" bgcolor="#333333" width="90" height="15" name="mp3player" type="application/x-shockwave-flash"  flashvars="waitForPlay=yes"  pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>

I had to change the "hotpot/lib.php" script to look for URLs in <embed> tag, so to get the quizzes working on Firefox, it will also be necessary to ask Rob D. to install the latest Hotpot v2.1.4 from the Moodle CVS, or from my server:
http://bateson.kanazawa-gu.ac.jp/moodle/hotpot-module.2.1.x.zip

One final point, your quizzes seem to require the following images, but they don't seem to be in the directory where the quizzes are:
  • smiley_clap.gif
  • smiley_crying_2.gif
best regards and many thanks for reporting this problem
Gordon