[Xerte] Re: youtube video size fix, sort of, in toolkits
Tom Reijnders
reijnders at tor.nl
Thu Dec 22 07:31:20 GMT 2011
Hi Ron,
This is also my observation, that the resize is too late. But I haven't
found a better solution yet.
- Your fix for XOT is correct.
- The desktop is a different story. First, you must realise that the
desktop version 'copies' the model into the project on creation time.
So, you have to do this for ALL your LO's.
- To do this for new LO's you have to change the original templates
For the Page Templates you need to change the model inside the Page
Templates.xtp (this is a zip file, normally insatlled in C:\Program
Files (x86)\Xerte\wizards)
For the Page Wizards (the Jonathan Kemp solution), you need to edit
the model in the youtube.xcp file (the .xcp file is a zip archive,
normally installed in C:\Program Files (x86)\Xerte\wizards\g) Misc)
By the way, the latest desktop version (and I assume the latest XOT as
well) have a new property, video size and that has the same effect as
your fix.
Tom
Op 22-12-2011 2:21, KnowledgeWare schreef:
>
> This 'fix' for youtube sizing works too in the desktop version,
> although it didn't appear to at first because I made the change only
> in the _youtube.rlm file and not in the youtube page in my RLO. This
> is a published file running on the web.
>
> I'm not sure what the relationship is between the page wizard icon in
> the RLO and the subdirectory which contains the youtube.rlm file on
> the website. I had assumed the RLO uses the _youtube.rlm file at
> runtime, but making the change there didn't have any effect. When I
> inserted the snippet below into the RLO it works. If I rename the
> subdirectory which contains _youtube.rlm (which sits in a dir one
> level below the RLO) the RLO doesn't run properly -- so it needs
> something out of that directory.
>
> This area is a bit confusing to me -- the page wizard appears to
> import all the code into the RLO, but the subdirectory which holds
> _youtube.rlm and the xml/xwd files are obviously needed as well.
>
> RonM2
>
> // added 2011.12.22 to control video size
>
> engine[ytID].setSize(320,240);
>
> 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
> 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/20111222/dac006a9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 31083 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111222/dac006a9/attachment-0001.png>
More information about the Xerte
mailing list