[Xerte] youtube video size fix, sort of, in toolkits

KnowledgeWare knowledgeware at kccsoft.com
Wed Dec 21 23:58:28 GMT 2011


Hello Tom:

 

I've added the setSize command into the youtube.rlm - thanks for that
suggestion. 

 

It still opens large then flashes back to preview size when it hits this
code. which is obviously not in the right place, but at least it just looks
like a small glitch now and not a major gaffe.

 

Still digging through the desktop version code, pasting this snippet into
the desktop rlm doesn't fix the video oversize issue.

 

modules/xerte/parent_templates/basic/models/youtube.rlm

 

onPlayerLoad/Handler script icon:

 

// added 2011.12.22 to control video size

engine[ytID].setSize(320,240);

 

 



 

RonM2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111221/6a3307a9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 31083 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111221/6a3307a9/attachment-0001.png>


More information about the Xerte mailing list