<div>Well that gave me a chuckle :-)<br></div><div><br></div><div>I downloaded and ran your project and for some reason that I don't know the answer too, when I previewed your xerte project, your audio files narrated at super speed, so I was treated to some chipmunk dialogue. Funny thing is when I opened the files separately in vlc portable they played at the correct speed. What baud rate were they saved at?</div>
<div><br></div><div>When I first created the page wizards I based them on the xml, xwd and .rml data from the PageTemplates project wide template. If I remember correctly there were some pages that had narration in the xwd file i.e. the wizard form would offer an optional parameter of narration, but the .rlm file had no code to handle narration. At the time I was just seeking to achieve a set of Page Wizards that were comparable to the page templates in PageTemplates. This will mean that both in Page Wizards and PageTemplates there are some page designs that do not out of the box support narration.</div>
<div><br></div><div>For narration to work, as a minimum there must be</div><div>1. The narration optional property in the xwd file</div><div><br></div><div>    <narration type="media" label="Narration" optional="true"/></div>
<div><br></div><div>2. Code in the getPageID file to support narration (the blue bit is my addition to implement auto play and is not standard to most Page Wizards at this time, nor is it found in PageTemplates pages.).</div>
<div><br></div><div>if (pageIcon.templateData.learningObject[0].gapFill[0].narration != undefined){<br>  narration = pageIcon.templateData.learningObject[0].gapFill[0].narration;<br>  rootIcon.broadcast('showAudio');<br>
  <font color="#3366ff">if (pageIcon.templateData.learningObject[0].gapFill[0].narPlayback != undefined && pageIcon.templateData.learningObject[0].gapFill[0].narPlayback == "pageLoad"){<br>    nar.play();<br>
  }</font><br>}<br></div><div><br></div><div>3. PageTemplates includes code in the main project file to action the narration. Page Wizard based projects need the narrationHandler model to be added to an Entry Frame of the project.</div>
<div><br></div><div>There seem to be two main problems that you have raised.</div><div>A. Consistent support in the PageTemplates and Page Wizards for narration i.e. points 1 and 2 above. </div><div><br></div><div>With respect to the Page Wizards I will be revisiting narration for all the Pages on the next upgrade to add autoPlay optional properties to the xwd files and to modify the narration code to support autoplay. This will result in those pages that have no narration code being provided with narration code in their getPageID scripts. That is unless for some reason the inclusion of narration compromises the page running. </div>
<div><br></div><div>The Xerte team manage the PageTemplates and On-line tookits files and I am sure will be interested in the above observations.</div><div><br></div><div>B) Inconsistencies in performance within different browsers. The PageTemplates do not support autoPlay of narration at this point in time. The addition of nar.play(); to the narration code block, in order to force the narration to play on page opening, may need reviewing. This feature is only currently included in the latest version of the gapFill page wizard, for anyone who would like to test it out. I would welcome Julian's input here. I wonder if for example there might be an issue of timing and a need to ensure that the file or page has loaded before playing starts. I would like to include the ability to have narration auto play if so selected in the wizard. So if my solution for achieving this is part of the problem then I welcome any input that can improve the implementation.</div>
<div><br></div><div>I cannot comment further on this. I am not a flash player expert and I am guessing that it may be differences between the versions of flash player that are resulting in the differences in performance. There did not appear to be any problem with narration playing in any of the browsers, only in it auto playing at the opening of the page. The narration play bar appeared present for all pages that had narration coded for in the .rlm file and a narration file specified in the xwd wizard.</div>
<div><br></div><div>If there are any changes to the narration code in the next version of Xerte then I will seek to include the changes in the narrationHandler model.rlm file used by the Page Wizards.</div><div><br></div>
<div>footnote for Deborah.</div><div>To provide your wizard with the auto playback option you need to add a line to the xwd file.</div><div><br></div><div>     <narPlayback type="ComboBox" label="Narration Playback" options="On user request,On page load" data="userRequest,pageLoad" width="150" optional="true"/><br>
 <br></div><div><br></div><div>This will add the optional property to the form. When you add the optional property using the form, this will add the property and your selected value for the property to the xml file. Adding the value directly to the xml makes the value available to your project but does not include it in the form so that you can modify it.</div>
<div><br></div><div><br></div><div>Kind regards</div><div><br></div><div>Johnathan</div><div><br></div><br><div class="gmail_quote">On 27 April 2011 15:31, Deborah Delin <span dir="ltr"><<a href="mailto:admin@strivney.com">admin@strivney.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><font face="verdana,sans-serif"><font color="#000066">Hi Johnathan,</font></font><div><font face="verdana,sans-serif"><font color="#000066"><br>
</font></font></div><div><font face="verdana,sans-serif"><font color="#000066">Well I've done quite a lot of testing of this narration issue and there definitely are some problems.  You might like to skip over my testing notes below to the final summary of problems at the bottom.  I am going to send you a zip file of my test as it does behave differently to yours and I don't know why that is.  You recently made changes to narration on the gap fill and I am wondering if the  file you posted to the Wiki might be different to the one you are working with?   </font></font></div>



<div><font face="verdana,sans-serif"><font color="#000066"><br></font></font></div><div><font face="verdana,sans-serif"><font color="#000066"><br></font></font></div><div><font face="verdana,sans-serif"><font color="#000066"><b>Testing Notes</b></font></font></div>



<div><font face="verdana,sans-serif"><font color="#000066">Yes there is an optional property in my Wizard that offers narration but not the added option of Narration Playback>On Page Load as in your wizard.  I added </font><font color="#FF0000">narPlayback="pageLoad"</font><font color="#000066"> to the xml file of my gapfill, as you have in yours, but the added option still does not show up.</font></font><div>





<font face="verdana,sans-serif"><font color="#000066"><br></font></font></div><div><font face="verdana,sans-serif"><font color="#000066">When I added just the block of code about narration to the getPageID script of the gap fill page, narration still failed to show up but when I deleted all the code on that page and replaced it with all the code on your gap fill page the narration showed up.</font></font></div>





<div><font face="verdana,sans-serif"><font color="#000066"><br></font></font></div><div><font face="verdana,sans-serif"><font color="#000066">When I create a new gapfill page the narration script is not there but in the drag and drop labeling and categories pages, the only other types of pages I tested, the narration script is included in the getPageId script.</font></font></div>





<div><font face="verdana,sans-serif"><font color="#000066"><br></font></font></div><div><font face="verdana,sans-serif"><font color="#000066">When I add <span style="color:rgb(0, 0, 0)"><font color="#FF0000">narPlayback="pageLoad"</font><font color="#000066"> to the gapfill page, the audio file plays on load.  When I add it to drag and drop and categories pages the narration does not play on load, but narration control does show up.</font></span></font></font></div>




<div><font face="verdana,sans-serif"><font color="#000066"><br></font></font></div><div><font face="verdana,sans-serif"><font color="#000066">I tested both your and my narration test in 3 different browsers with varying results.  (Sorry there were access problems in the last link I sent but the following will definitely take you directly to the exercises):</font></font></div>




<div><br></div><div><font color="#000066" face="verdana, sans-serif">JK Test:    </font><a href="http://www.strivney.com/file.php/58/JK_Test/index.htm" target="_blank">http://www.strivney.com/file.php/58/JK_Test/index.htm</a></div>




<div><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif">Deborah Test: <span style="font-family:arial;color:rgb(0, 0, 0)"> <a href="http://www.strivney.com/mod/resource/view.php?id=2043" target="_blank">http://www.strivney.com/mod/resource/view.php?id=2043</a></span></span></div>




<div><br></div><div><b><font color="#333399" face="verdana, sans-serif">Google Chrome:</font></b></div><div><b><font color="#333399" face="verdana, sans-serif"><br></font></b></div>
<div><b><span style="font-weight:normal"><font color="#333399" face="verdana, sans-serif"><b>Johnathan Test</b>:  Narration shows up but on page 4 gapfill doesn't auto load on first load but when returning to it it plays then cuts off after a couple of seconds.</font></span></b></div>




<div><font color="#333399" face="verdana, sans-serif"><b>Deborah Test</b>: Narration shows up but doesn't auto-load (in Google Chrome on desktop narration on gapfill auto-loads but cuts off after couple of seconds)</font></div>




<div><b><font color="#333399" face="verdana, sans-serif"><br></font></b></div><div><b><font color="#333399" face="verdana, sans-serif">IE8:</font></b></div><div><b><font color="#333399" face="verdana, sans-serif"><br>
</font></b></div><div><font color="#333399" face="verdana, sans-serif"><b>Johnathan Test:  </b>As in Google Chrome but sound doesn't cut off when returning to page 4.</font></div><div><font color="#333399" face="verdana, sans-serif"><br>



</font></div><div><font color="#333399" face="verdana, sans-serif"><b>Deborah Test: </b>Narration doesn't show up.</font></div><div><font color="#333399" face="verdana, sans-serif"><br>
</font></div><div><b><font color="#333399" face="verdana, sans-serif">Firefox:</font></b></div><div><b><font color="#333399" face="verdana, sans-serif"><br></font></b></div>
<div><font color="#333399" face="verdana, sans-serif"><b>Johnathan Test:  </b>Narration shows up but no auto load on P4.</font></div><div><font color="#333399" face="verdana, sans-serif"><br>
</font></div><div><font color="#333399" face="verdana, sans-serif"><b>Deborah Test</b>:  Narration shows up, doesn't auto load and is speeded up and squeaky.</font></div><div><b><font color="#333399" face="verdana, sans-serif"><br>



</font></b></div><div><font color="#333399" face="verdana, sans-serif">To summarise the issues I found:</font></div><div><font color="#333399" face="verdana, sans-serif"><br>
</font></div><div><font color="#333399" face="verdana, sans-serif">-  No narration script in getPageID on my gap fill exercise, but narration script on getPageID of other interactive page scripts. </font></div>
<div><font color="#333399" face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><font color="#333399">-   Unable to get narration to auto load on pages other than gap fill, even after adding </font><font color="#FF0000">narPlayback="pageLoad"</font></font><font color="#333399" face="verdana, sans-serif"> to XML file</font></div>



<div><span style="font-family:verdana, sans-serif"><font color="#333399"><br></font></span></div><div><font color="#333399"><span style="font-family:verdana, sans-serif">- Unable to get added option of </span><span style="font-family:verdana, sans-serif">Narration Playback>On Page Load in Wizard.</span></font></div>



<div><span style="font-family:verdana, sans-serif"><font color="#333399"><br></font></span></div><div><span style="font-family:verdana, sans-serif"><font color="#333399">Narration issues in various browsers, both with JK and Deborah's tests.</font></span></div>



<div><span style="font-family:verdana, sans-serif"><font color="#333399"><br></font></span></div><div><span style="font-family:verdana, sans-serif"><font color="#333399">Phew!  I do hope this is all clear...........?  Thanks very much in advance for your patience.</font></span></div>



<div><span style="font-family:verdana, sans-serif"><font color="#333399"><br></font></span></div><div><span style="font-family:verdana, sans-serif"><font color="#333399">Deborah</font></span></div>
<div><span style="color:rgb(0, 0, 102);font-family:verdana, sans-serif"><br></span></div><div><span style="color:rgb(51, 51, 153);font-family:verdana, sans-serif">         </span></div></div>
</div><div><div class="h5">
<br>
<p>
This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.
</p>
<p>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
</p>
</div></div><br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br>

<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><br>