[Xerte] Re: youtube movie dimensions

Tom Reijnders reijnders at tor.nl
Tue Jan 3 14:43:15 GMT 2012


Julian,

youtuberss.rlm needs updating as well....

Op 3-1-2012 12:50, Julian Tenney schreef:
>
> 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:
>
> http://www.nottingham.ac.uk/toolkits/play_6393
>
> *From:*xerte-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom Reijnders
> *Sent:* 21 December 2011 00:13
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: youtube movie dimensions
>
> Couldn't resist.... :-)
> It depends a bit on the youtube model you have.
>
> This is preliminary, I have no final fix (I am not at home, and have 
> no access to all I need)
>
> If you have a version where you can set the size, it is more or less 
> already fixed.
> If you are using an older model, you need to update the model, or 
> change the component.
>
> This is (probably) caused by the fact that the default video size that 
> youtube sends has been changed from 320x240 to something larger.
>
> 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.
>
> 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.
>
> Tom
>
>
>
> Op 20-12-2011 22:48, Julian Tenney schreef:
>
> 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...
>
> ...but you really ought to have better things to be doing at this time 
> of year...
>
> ...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.
>
> Best wishes for a great 2012.
>
> J
>
> ------------------------------------------------------------------------
>
> *From:*xerte-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-bounces at lists.nottingham.ac.uk> 
> [xerte-bounces at lists.nottingham.ac.uk 
> <mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of 
> KnowledgeWare [knowledgeware at kccsoft.com 
> <mailto:knowledgeware at kccsoft.com>]
> *Sent:* 19 December 2011 21:49
> *To:* Xerte discussion list
> *Subject:* [Xerte] youtube movie dimensions
>
> 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.
>
> 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.
>
> http://www.kccsoft.com/RGM/ssv51training/index.htm     (desktop version)
>
> https://kccsoft.com/u2c/tk100714/play.php?template_id=410    (toolkits 
> 1.5 version)
>
> 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.
>
> 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).
>
> Thanks for any suggestions....am I missing something obvious?
>
> RonM2
>
> 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.
>
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk  <mailto:Xerte at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>   
> 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.
>   
>
>
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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.
>

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120103/53333dde/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 26619 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120103/53333dde/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 20102 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120103/53333dde/attachment-0003.jpe>


More information about the Xerte mailing list