Flash player not appearing in Title

Flash player not appearing in Title

by Neelima Ramesh -
Number of replies: 3
Hi everyone!

Iv inserted a flash player in the title field of any hot potatoes module but when I put the exercise into a quizport in moodle, it doesn't appear there. Instead, the name of only the mp3 file appears.

If i put it out of the <h2> tag, it appears. Could anyone tell me why this is happening. The problem is, if i put it out of the <h2> tag, the falsh player goes too far from the title which looks odd.

Plz help.

Neelima
Average of ratings: -
In reply to Neelima Ramesh

Re: Flash player not appearing in Title

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Neelima,
please attach your quiz to your next post ot this forum, or upload it to my server so we can have a look together.

thanks
Gordon

In reply to Gordon Bateson

Re: Flash player not appearing in Title

by Neelima Ramesh -
hey Gordon.

I put my exercise in the quizport called "Neelima". The name of the folder in the database is "Player"

Neelima
In reply to Neelima Ramesh

Re: Flash player not appearing in Title

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Thank you for uploading your quiz. I see you are using a custom format for the titles in your Find(a) quiz. The "Title" is intended as the text to display at the top of the quiz and in the list of quizzes in a QuizPort unit, so by putting a mediaplayer in there you are going against the grain of the design of the software.

You will have an easier time, if you use the "Title" field for just text, and put the audio files into either the quiz subtitle, JCloze -> Options -> Configure Output -> Titles/Instructions, or the reading.

To this end, I respectfully make the following suggestions:

In the "intro_to_grammar.htm" file, locate the following code:

<!-- BeginTopNavButtons -->

<table cellpadding="0px" border="0px" cellspacing="0px" style="width:100%">
<colgroup span="1" width="15%">
<colgroup span="1" width="70%">
<colgroup span="1" width="15%"></colgroup>
<tr>
<td style="margin-bottom:0px">
<img src="logo.jpg" alt="" /></td>
<td align="center"><h2 class="ExerciseTitle"> Introduction to grammar. <object ...> ... </object></h4> </h2></td>

</tr>
</table>
<!-- EndTopNavButtons -->

<div class="Titles">

</div>


And change it to this:

<div class="Titles">
<table cellpadding="0px" border="0px" cellspacing="0px" width="100%">
<tr>
<td rowspan="2" width="200"><img src="logo.jpg" alt="logo.jpg" /></td>
<td align="center"><h2 class="ExerciseTitle"> Introduction to grammar.</h2></td>
</tr>
<tr>
<td align="center"><h3 class="ExerciseSubtitle">
<object ... > ... </object></h3></td>
</tr>
</table>
</div>

More fundamentally, I suggest you change the layout of the titles in the *templates* which produce your quizzes, to the following:

<div class="Titles">
<table cellpadding="0px" border="0px" cellspacing="0px" width="100%">
<tr>
<td rowspan="2" width="200"><img src="logo.jpg" alt="logo.jpg" /></td>
<td align="center"><h2 class="ExerciseTitle">[strExerciseTitle]</h2></td>
</tr>
<tr>
<td align="center"><h3 class="ExerciseSubtitle">[strExerciseSubtitle]</h3></td>
</tr>
</table>
</div>


Then put your mp3 player in the "subtitle" of the quiz and keep the titles containing only text.

HTH
Gordon