<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 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
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;}
p
{mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
color:black;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";
color:black;}
span.emailstyle17
{mso-style-name:emailstyle17;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.balloontextchar0
{mso-style-name:balloontextchar;
font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas","serif";
color:black;}
span.EmailStyle25
{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:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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 bgcolor=white lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:windowtext'>Hello Tom:<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Don’t understand….I’m using the desktop version (latest) as well as toolkits 1.5.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext'>Where would I find the </span><span style='color:windowtext'>onPlayerLoad event handler script? Is there some way I can ‘setSize’ in my existing toolkits or desktop code?<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><br>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>RonM2</span><span style='color:windowtext'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Tom Reijnders<br><b>Sent:</b> Tuesday, December 20, 2011 4:13 PM<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: youtube movie dimensions<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Couldn't resist.... :-)<br>It depends a bit on the youtube model you have.<br><br>This is preliminary, I have no final fix (I am not at home, and have no access to all I need)<br><br>If you have a version where you can set the size, it is more or less already fixed.<br>If you are using an older model, you need to update the model, or change the component.<br><br>This is (probably) caused by the fact that the default video size that youtube sends has been changed from 320x240 to something larger.<br><br>SetSize is never called after initialisation, and Xerte assumes that the size should be 320x240. If you use one of the newer model where you can set the size, this works.<br><br>As far as I can tell you need to set the correct size in the onPlayerLoad event handler script. See the toggle event handler for an example.<br><br>Tom<br><br><br><br>Op 20-12-2011 22:48, Julian Tenney schreef: <o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>If anyone's got nothing better to do, then the source code is in the /templates folder of a xerte windows install, and the youtube docs are online. Make a page templates project, and then compile youTubeComponent.fla over the swf in /common, and see what happens. The .fla is not complicated...<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>...but you really ought to have better things to be doing at this time of year...<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>...so Merry Christmas! Thanks to everyone for all the input this year, enjoy the holidays, and we'll pick it all up again in the New year. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Best wishes for a great 2012.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>J<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p></div><div id=divRpF748859><div class=MsoNormal align=center style='text-align:center'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of KnowledgeWare [<a href="mailto:knowledgeware@kccsoft.com">knowledgeware@kccsoft.com</a>]<br><b>Sent:</b> 19 December 2011 21:49<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] youtube movie dimensions<o:p></o:p></span></p></div><div><div><p class=MsoNormal>I’m still stuck on youtube movie sizing. When I enter a youtube movie page the movie is oversized like in the image below to the left. I want it to display in the preview window as the image below on the right.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>I’d appreciate it if someone could try these links below and tell me if the youtube movie (usually page 7) displays properly in the small preview window or opens right off the page as in the image below left. On all my machines here it is right off the page.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><a href="http://www.kccsoft.com/RGM/ssv51training/index.htm" target="_blank">http://www.kccsoft.com/RGM/ssv51training/index.htm</a> (desktop version)<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><a href="https://kccsoft.com/u2c/tk100714/play.php?template_id=410" target="_blank">https://kccsoft.com/u2c/tk100714/play.php?template_id=410</a> (toolkits 1.5 version)<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>This just started a few days ago, up until then the page opened with the movie in the preview window. I’m using the youtube older ‘object’ ‘embed’ code. I’ve tried setting the xerte display mode from ‘full screen’ and ‘full window’ to ‘default’, set text alignment to ‘right’ and tried removing the variables off the end of the youtube URL, all to no effect.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>If you play with the ‘magnify’ icon (click it three times) the movie will resize back into the preview window, but that’s too much to ask a user to do. Is there a way I can initialize the movie size when the page loads or somehow force the size (although it is set in the youtube embed code).<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Thanks for any suggestions….am I missing something obvious?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>RonM2<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><img border=0 width=441 height=331 id="Picture_x0020_1" src="cid:image001.jpg@01CCBF34.DA71AFB0"><img border=0 width=440 height=331 id="Picture_x0020_2" src="cid:image002.jpg@01CCBF34.DA71AFB0"><o:p></o:p></p></div></div></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><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. <o:p></o:p></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. <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Xerte mailing list<o:p></o:p></pre><pre><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><o:p></o:p></pre><pre><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>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.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>This message has been checked for viruses but the contents of an attachment<o:p></o:p></pre><pre>may still contain software viruses which could damage your computer system:<o:p></o:p></pre><pre>you are advised to perform your own checks. Email communications with the<o:p></o:p></pre><pre>University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></pre><pre><o:p> </o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>--<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Tom Reijnders<o:p></o:p></pre><pre>TOR Informatica<o:p></o:p></pre><pre>Chopinlaan 27<o:p></o:p></pre><pre>5242HM Rosmalen<o:p></o:p></pre><pre>Tel: 073 5226191<o:p></o:p></pre><pre>Fax: 073 5226196<o:p></o:p></pre><pre><o:p> </o:p></pre></div></body></html>