<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes, that works! Perfect!<br>
<br>
Op 3-1-2012 12:50, Julian Tenney schreef:
<blockquote
cite="mid:12C67A1EEC419342AF5E59DA31562C3F0B9FDBF043@EXCHANGE1.ad.nottingham.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<!--[if !mso]><style id=owaTempEditStyle>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: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:Consolas;
panose-1:2 11 6 9 2 2 4 3 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: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:0cm;
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:0cm;
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:0cm;
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:0cm;
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;
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: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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">OK, a simple
enough fix is to hide the youtube swf off the screen until
onPlayerLoad fires and then let the code in there reposition
it. Then you don’t see the component flickering:<o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="color:windowtext"><a moz-do-not-send="true"
href="http://www.nottingham.ac.uk/toolkits/play_6393"
target="new">http://www.nottingham.ac.uk/toolkits/play_6393</a><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>
<div>
<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
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>
[<a class="moz-txt-link-freetext" href="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</a>] <b>On
Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 21 December 2011 00:13<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" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">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" style="margin-left:36.0pt"><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" style="margin-left:36.0pt"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><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" style="margin-left:36.0pt"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><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" style="margin-left:36.0pt"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><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" style="margin-left:36.0pt"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">J<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <o:p></o:p></span></p>
</div>
<div id="divRpF748859">
<div class="MsoNormal"
style="margin-left:36.0pt;text-align:center"
align="center"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<hr align="center" size="2" width="100%"></span></div>
<p class="MsoNormal"
style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.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 moz-do-not-send="true"
href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>]
On Behalf Of KnowledgeWare [<a moz-do-not-send="true"
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" style="margin-left:36.0pt">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" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">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" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><a
moz-do-not-send="true"
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" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><a
moz-do-not-send="true"
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" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">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" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">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" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Thanks for
any suggestions….am I missing something obvious?<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">RonM2<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><img
id="Picture_x0020_1"
src="cid:part1.09080908.08000007@tor.nl" border="0"
height="331" width="441"><img id="Picture_x0020_2"
src="cid:part2.00070002.02020702@tor.nl" border="0"
height="331" width="440"><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><o:p> </o:p></span></p>
<p style="margin-left:36.0pt">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 style="margin-left:36.0pt">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" style="margin-left:36.0pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:36.0pt">_______________________________________________<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Xerte mailing list<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><a moz-do-not-send="true" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><o:p></o:p></pre>
<pre style="margin-left:36.0pt"><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
<pre style="margin-left:36.0pt">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 style="margin-left:36.0pt"><o:p> </o:p></pre>
<pre style="margin-left:36.0pt">This message has been checked for viruses but the contents of an attachment<o:p></o:p></pre>
<pre style="margin-left:36.0pt">may still contain software viruses which could damage your computer system:<o:p></o:p></pre>
<pre style="margin-left:36.0pt">you are advised to perform your own checks. Email communications with the<o:p></o:p></pre>
<pre style="margin-left:36.0pt">University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:36.0pt">-- <o:p></o:p></pre>
<pre style="margin-left:36.0pt">--<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
<pre style="margin-left:36.0pt">Tom Reijnders<o:p></o:p></pre>
<pre style="margin-left:36.0pt">TOR Informatica<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Chopinlaan 27<o:p></o:p></pre>
<pre style="margin-left:36.0pt">5242HM Rosmalen<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Tel: 073 5226191<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Fax: 073 5226196<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xerte mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a>
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.
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.
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
</body>
</html>