<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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:
<blockquote
cite="mid:12C67A1EEC419342AF5E59DA31562C3F0B9F849C46@EXCHANGE1.ad.nottingham.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style>@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@page WordSection1 {margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
P.MsoAcetate {
FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"
}
LI.MsoAcetate {
FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"
}
DIV.MsoAcetate {
FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"
}
SPAN.BalloonTextChar {
FONT-FAMILY: "Tahoma","sans-serif"
}
.MsoChpDefault {
FONT-FAMILY: "Calibri","sans-serif"
}
DIV.WordSection1 {
}
</style>
<meta content="MSHTML 6.00.6000.17107" name="GENERATOR">
<style id="owaTempEditStyle"></style>
<style title="owaParaStyle"><!--P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
<div style="FONT-SIZE: x-small; COLOR: #000000; DIRECTION: ltr;
FONT-FAMILY: Tahoma">
<div>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...</div>
<div> </div>
<div><font face="tahoma">...but you really ought to have better
things to be doing at this time of year...</font></div>
<div> </div>
<div><font face="tahoma">...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.
</font></div>
<div> </div>
<div><font face="tahoma">Best wishes for a great 2012.</font></div>
<div> </div>
<div><font face="tahoma">J</font></div>
<div dir="ltr"> </div>
<div id="divRpF748859" style="DIRECTION: ltr">
<hr tabindex="-1">
<font color="#000000" face="Tahoma" size="2"><b>From:</b>
<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-abbreviated" href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of
KnowledgeWare [<a class="moz-txt-link-abbreviated" 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<br>
</font><br>
</div>
<div>
<div class="WordSection1">
<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.</p>
<p class="MsoNormal"> </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.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><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)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><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)</p>
<p class="MsoNormal"> </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.</p>
<p class="MsoNormal"> </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).</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks for any suggestions….am I
missing something obvious?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">RonM2</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span><img id="Picture_x0020_1"
src="cid:part1.03010409.02070401@tor.nl" border="0"
height="331" width="441"><img id="Picture_x0020_2"
src="cid:part2.03050002.09020405@tor.nl" border="0"
height="331" width="440"></span></p>
</div>
</div>
</div>
<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>
<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>