<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>A Happy New Year one and all.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You can&#8217;t define the height of the text field, because it is broken into individual clips - for the same reason you can&#8217;t call setText() on the icon. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You can&#8217;t put a scroll pane on the text icon as that&#8217;s going to cause problems for replacing the draggable labels / positioning the text entries.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The best thing to do is to break the exercise into smaller chunks.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Kemp Johnathan<br><b>Sent:</b> 23 December 2010 11:39<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> Re: [Xerte] Video in a gap fill<o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'>If the video is relevant to every gapFill page then putting it in the entryFrame may be a better performing solution as it is only references once in the project.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>I took a quick look at the gapFill Page Wizard and how it works. The scroll bar is displaying at the height of the passage Text Icon as defined in its properties, but since the content of the icon (the id of which is mainText, though its title is passage) is being created on the fly after the text icon has loaded, it is not being constrained by the height of the Text Icon.&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>It may be possible to redefine the height of mainText in the makeInteraction script, after the variable str has been populated with the text, though I haven't tested the effect of doing this.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Alternatively it may be better to remove the {str} &nbsp;value in the passage text icon's text property and to call mainText.setText() to set the value of the text icon's text property.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>I don't have the time right now to try these options out but they may give you some ideas of what you could try for yourself.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>The Gap Fill page works by splitting the text into individual words, so the longer the text the longer the page takes to load. So the better solution may be to edit the video into a series of meaningful shorter videos and display them in sequence in a series of gapFill pages in which the gapFill exercise relates to the section of the video that is displayed on that page.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Kind regards<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>Johnathan<o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'>On 22 December 2010 12:11, Simon Barne &lt;<a href="mailto:simonbarne@gmail.com">simonbarne@gmail.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>Thank you for the tip about adding the video directly to the gap fill, which<br>I have now managed to do.<br><br>I previously added it to an entry frame so that the same movie could be used<br>for successive gap fills, which seem to need to be quite small. I used three<br>gap fills for a 2-minute video clip of 300 spoken words. Larger gap fills<br>take a while to load and they do not automatically scroll.<br><br>Does anyone know how to add scrollbars to a gap fill? Adding the property<br>&quot;scrolling:1&quot; to the passage icon puts a scrollbar button at the top right<br>of the panel, but the text still overflows at the bottom.<br><br><br><br>From: Kemp Johnathan [mailto:<a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a>]<br>Sent: 20 December 2010 6:27 PM<br>To: Xerte discussion list<br>Subject: Re: [Xerte] Video in a gap fill<br><br>If you add the movie to the entry frame then you will have that movie<br>displaying on every page of the Framework as the content of an entry frame<br>is displayed on all subsequent pages of the container in which it is used.<br>Entry frames are often used to provide customised navigation for a framework<br>for example.<br><br>However since you know how to add movie to an Entry frame, you could open<br>the structure of the gap fill page and add the movie to the gap fill page's<br>structure. Then the movie would only display in the gap fill page and not<br>display in any of the other pages you might have in the framework. After all<br>if you are only having one page in the Framework then why use a Framework?<br><br>One of the nice features of Page Wizards is that they expose their structure<br>so that you can learn more about how they work and modify them. You could<br>even use them to create a new page wizard e.g. a Gap Fill page that included<br>a movie.<br><br>Remember that when a page is created using a Page Wizard, the .rlm file in<br>the Page's folder is only used to generate the page's initial structure. If<br>you change the page structure, e.g. by adding new icons to the page's<br>structure the .rlm file will remain unchanged. To bring your changes into a<br>new wizard you would need to save the modified page's structure as a model<br>file and use this .rlm file as the basis for your new model.<br><br>If you have any questions about modifying Page Wizards just post them and I<br>will do my best to help.<br><br>Kind regards<br><br>Johnathan<br><br>On 18 December 2010 21:36, Simon Barne &lt;<a href="mailto:simonbarne@gmail.com">simonbarne@gmail.com</a>&gt; wrote:<br>I may as well answer my own question. This method uses Xerte 2 and the page<br>wizards on the wiki:<br><br>1. Install the page wizards.<br>2. Add a framework to a page.<br>3. Add an entry frame to the framework.<br>4. Add a movie to the entry frame.<br>5. Using the page wizards (Templates &gt; Interactivity &gt; Gap Fill), add a gap<br>fill to the framework.<br><br>And Bob's your uncle. If anyone knows a better way, please tell.<br><br><br>-----Original Message-----<br>From: Simon Barne [mailto:<a href="mailto:simonbarne@gmail.com">simonbarne@gmail.com</a>]<br>Sent: 15 December 2010 2:27 PM<br>To: <a href="mailto:xerte@lists.nottingham.ac.uk">xerte@lists.nottingham.ac.uk</a><br>Subject: [Xerte] Video in a gap fill<br><br>Is there a simple way of including a video on the same page as a gap-fill<br>interaction?<br><br><br><br><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<br>may contain confidential information. If you have received this message in<br>error, please send it back to me, and immediately delete it. &nbsp; Please do not<br>use, copy or disclose the information contained in this message or in any<br>attachment. &nbsp;Any views or opinions expressed by the author of this email do<br>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>_______________________________________________<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>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. &nbsp; Please do not use, copy or disclose the information contained in this message or in any attachment. &nbsp;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.<o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p></div></body></html>