<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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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='color:#1F497D'>Hi Fay<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>sorry I sent this before noticing your commit today!<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So the audio hotspot now works and the video player loads but shows download file. Can that be made to work the same way as the textVideo page e.g. look for an mp4 of the same name?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I've uploaded your updated file but added in my crude sizing to where my test file resides </span><a href="http://mitchellmedia.co.uk/xot/play_html5_64">http://mitchellmedia.co.uk/xot/play_html5_64</a><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>The only change to your latest file is the following:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>//RM added crude image resizing based on wizard options<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>//ideally needs to be more flexible/responsive than this e.g. respond to window size<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                              if (x_currentPageXML.getAttribute("textWidth") == "none") {          <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             var imgMaxW = 760,       imgMaxH = 476;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             }<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                              if (x_currentPageXML.getAttribute("textWidth") == "narrow") {      <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             var imgMaxW = 600,       imgMaxH = 476;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             }<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>if (x_currentPageXML.getAttribute("textWidth") == "wide") {           <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             var imgMaxW = 500,       imgMaxH = 476;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             }<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>if (x_currentPageXML.getAttribute("textWidth") == "max") {            <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             var imgMaxW = 400,       imgMaxH = 476;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>                                             }                                            <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ron<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='color:#1F497D'><o:p> </o:p></span></a></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><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-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 03 April 2013 17:05<br><b>To:</b> 'For Xerte technical developers'<br><b>Subject:</b> [Xerte-dev] Hotspot Image Connector image sizes<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Fay/all<o:p></o:p></p><p class=MsoNormal>I've been testing the html5 playback of the Hotspot Image connector and have one or two questions...<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>1. Is the video popup meant to work at the moment e.g. by uploading an .mp4 the same name as the flv?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2. Likewise sound popup?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>3. I noticed your comments in the code about changing image size based on text size options and have added some crude size changes (see attached and linked example below) I haven't committed that change (but can do?) and I said crude because ideally the image size ought to be more responsive to window size etc rather than fixed dimensions and you've said in your code comments to look at the textGraphics page so I'm guessing you're planning do this at some point? The fixed sizes I've added seem to work ok on my iPad.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In my test file I've uploaded the tweaked html5 model to change size based on the option chosen and on the last page there are video and audio links which at the moment don't seem to work via html 5 but do via Flash but I'm guessing neither are meant to work yet?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>HTML5 link<o:p></o:p></p><p class=MsoNormal><a href="http://mitchellmedia.co.uk/xot/play_html5_64">http://mitchellmedia.co.uk/xot/play_html5_64</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Flash link<o:p></o:p></p><p class=MsoNormal><a href="http://mitchellmedia.co.uk/xot/play_64">http://mitchellmedia.co.uk/xot/play_64</a> <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers<o:p></o:p></p><p class=MsoNormal>Ron<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><o:p></o:p></span></p></div></body></html>