{Filename?} RE: [Xerte] interesting problem when using SCORM in Moodle

RonM ronm at mitchellmedia.co.uk
Fri Mar 5 09:28:21 GMT 2010


Yes flash.js should be in the root of your scorm package. It's also in the
modules\xerte\scorm\ of your XOT installation

 

HTH

Ron

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 05 March 2010 08:27
To: 'Xerte discussion list'
Subject: RE: {Filename?} RE: [Xerte] interesting problem when using SCORM in
Moodle

 

Sounds promising! Once again the might sophos deleted the attachment so what
flash.js file do I have to update? Is there one exported inside the scorm
package?

 

Is it also possible to update the source file on XOT?

 

Cheers

 

Adam

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: 04 March 2010 23:07
To: 'Xerte discussion list'
Subject: {Filename?} RE: [Xerte] interesting problem when using SCORM in
Moodle

 

Works in Moodle too! 

Also fixes the example shared by Adam earlier!

Also fixes LO's I'd tested in Moodle previously just by replacing the
flash.js file!

 

So to summarise:

Problem only happened with LO's set to full screen or fill window exported
as scorm and imported into Moodle. Which is what made it seem so
intermittent.

None of the changes today to scormRLO.htm fixed this without causing the
firefox problem.

 

Checking flash.js and replacing the following:

document.writeln('<br>');

document.writeln('<center><div id="sco" style="width:' + rloWidth + 'px;
height:' + rloHeight + 'px;">');

 

with the following

document.writeln('<div id="sco" style="width:' + rloWidth + 'px; height:' +
rloHeight + 'px;">');

 

fixed it offline and in Moodle.

 

.js file attached for anyone with the disappearing problem to try.

 

I think we got there! 

Cheers J

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 22:44
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Good. Now it's Moodle's problem... and the question will be 'what happens in
the ADL test suite' if anything's wrong ;-)

 

apiwrapper.js is pretty much the ADL supplied wrapper, so there oughtn't to
be issues there.

 

flash.js is my own flash embedding code - Pat found a problem in there
earlier fixed it.

 

I'll update all the downloads tomorrow so at least we have a good step
forward. I know it works in WebCT, so I'd say there's a good chance it will
work in another LMS...

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk on behalf of RonM
Sent: Thu 04/03/2010 22:41
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

Works in IE no disappearing and no FF squishing.

 

So then copied scormRLO.htm to my XOT test file - same old disappearing
problem. 

 

So out of curiosity copied apiwrapper.js and flash.js from your LO to mine:
Works in IE no disappearing and no FF squishing!

 

So then copied the .js files one by one to another copy of my LO.
apiwrapper.js no difference. flash.js fixes problem.

 

So then compared differences between the two .js files

 

Mine had:

document.writeln('<br>');

document.writeln('<center><div id="sco" style="width:' + rloWidth + 'px;
height:' + rloHeight + 'px;">');

as lines 1 and 2

 

Yours has:

document.writeln('<div id="sco" style="width:' + rloWidth + 'px; height:' +
rloHeight + 'px;">');

as line 1 replacing 1

 

replacing line 1 and 2 in mine with 1 from yours seems to fix the problem

 

Off to test in Moodle!

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 22:02
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Confirm for me what happens when you take the zip fie at
http://www.nottingham.ac.uk/~cczjrt/scormTest.zip

 

Unzip those files into a folder... run the .htm.

 

It works? Or not? Don't mix any of these files with any of your own. We need
to get to a place where we have one set of working files - I was thinking
maybe you are taking just the .htm and dropping it into your own project - I
need to know these files work or not as they work for me at work, and they
work for me at home.

 

I could see your flash.js was different to mine, so lets take it a step at a
time,

 

J

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk on behalf of RonM
Sent: Thu 04/03/2010 17:36
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

No idea! I downloaded your zip, extracted it and tried it - vanishes locally
woks fine in FF. Add the doc type woks fine in IE but squishes in FF.

 

Not going anywhere near moodle with it yet.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 17:27
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Something is different between your files and mine.

 

What is it?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 4:45 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

It aint the cache and btw the link in your message containing: "Let's wipe
our minds and get on a common set of files." 

 

To quote "That example doesn't have the doctype at the top of the file."!
;-)

 

So I added the doc type and it fixes the disappearing problem in IE but
creates the squishing problem in Firefox. 

 

Adding the docype to your example does the same thing.

 

Please try the attached not another non XOT LO.

 

So just to make it 100% clear. The disappearing problem only happens in IE
with LO's set to full screen or fill window. Using the new scormRLO.htm file
with doctype added fixes that problem but introduces a problem of squishing
vertically in Firefox.

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 15:59
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

That ought to work then - clear your cache.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 3:57 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

That does work in both browsers but...

 

1.       Something must have changed because your previous version wasn't
displaying full screen.

2.       It would help if we were all using an XOT created LO rather than a
local file because...

3.       Given that this one worked I copied scormRLO.htm pasted in the
folder of the test LO I sent to the list and changed the line pointing to
test.rlo to point to learingobject.rlo result - back to the same problem -
flashes and disappears!

 

Doesn't work = flashes and disappears! 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 15:21
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

I think we all have.

 

Let's wipe our minds and get on a common set of files.

 

Delete all the clutter from todays messing.

 

Download this: http://www.nottingham.ac.uk/~cczjrt/scormTest.zip

 

Run it locally in any browser - it should work?

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: Thursday, March 04, 2010 3:20 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

I've lost track of this a bit!

 

The scorm example that Julian linked us up with works in both IE and FF but
doesn't fill the screen.

 

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: 04 March 2010 15:15
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

That's because I created that particular example before you sent that
revision. However I'm sure I've tried that with the same result. If you add
the doctype does it work?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 15:06
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

That example doesn't have the doctype at the top of the file.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 3:02 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Well it doesn't display full screen or filling the window for me.

 

Try the attached - just view in IE locally.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 14:54
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

It is - code in the page calls rootIcon.setDisplayMode, just the way it is
in toolkits.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 2:53 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

As far as I can see that isn't set to full screen or fill window so yes it
works. This issue seems to happen in IE 7 or 8 when exported as scrorm and
set to anything but default size.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 13:49
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

See attached - works fine locally in IE8 and Firefox and Opera. Does this
not work locally for anyone?

 

Works in WebCT as a SCORM module in IE8, FireFox and Opera.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Thursday, March 04, 2010 1:35 PM
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

I dunno. I have a piece working fine locally in both IE and firefox.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 1:33 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Same here IE fine Firefox squished vertically! L

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 04 March 2010 13:22
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Works fine in IE now, 

 

Error! Filename not specified.

 

however it's broken in Firefox! Seems to load really small:

 

Error! Filename not specified.

 

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 13:10
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Right, got it now:

 

-          Add the doctype;

-          Close the head tag (oops)

-          Add the style info to the html tag as well

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<head style="width:100%; height:100%; min-height:100%;">

<script type="text/javascript" src="apiwrapper.js"></script>

 

<script type="text/javascript">

if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 &&
navigator.userAgent.indexOf("Windows 3.1") == -1){

  document.write('<SCRIPT LANGUAGE=VBScript\> \n');

  document.write('on error resume next \n');

  document.write('Sub MainPreloader_FSCommand(ByVal command, ByVal
args)\n');

  document.write(' call MainPreloader_DoFSCommand(command, args)\n');

  document.write('end sub\n');

  document.write('</SCRIPT\> \n');

}

 

function enableTTS(){

  if (navigator.appName.indexOf("Microsoft") != -1){

    VoiceObj = new ActiveXObject("Sapi.SpVoice");

  }

}

 

function MainPreloader_DoFSCommand(command, args){

  if (command == "messageBox"){

    alert(args);

    return true;

  }

 

  if (command == "speak"){

    VoiceObj.Speak(args, 3); //params = 3: 1 for asynch and 2 for purge
existing (see below)

  }

 

  if (command == "resize"){ 

    document.getElementById("sco").style.width = args.substr(0,
args.indexOf(","))+"px";

    document.getElementById("sco").style.height =
args.substr(args.indexOf(",") + 1, args.length)+"px";

  }

 

  if (command == "fullscreen"){

    document.getElementById("sco").style.width = "100%";

    document.getElementById("sco").style.height = "100%";

  }

 

  if (command == "stopTTS"){

    VoiceObj.Speak('', 2); //params 2 to purge existing voices

  }

}

</script>

 

 

<title>SCO Example</title>

</head>

<body onload = "initialise();" onunload = "finish();" style="margin:0 auto;
width:100%; height:100%; min-height:100%;">

 

<div style="min-height:100%; width:100%; height:100%;">

 

<script type="text/javascript" language="JavaScript">

 

function launchwin(winurl,winname,winfeatures){

    //This launches a new window and then

    //focuses it if window.focus() is supported.

    newwin = window.open(winurl,winname,winfeatures);

}

 

function getLocation(){

  var loc = document.location.toString();

  loc = loc.substr(0, loc.lastIndexOf('/') + 1);

  return loc;

}

var FileLocation = getLocation();

 

rloFile = 'learningobject.rlo';

rloWidth = 800;

rloHeight = 800;

scorm = 'true';

browser = 'ie';

</script>

 

<script type="text/javascript" src = "flash.js"></script>

 

<script name="APIWRapperFunctions" type="text/javascript">

 

var MainPreloader = document.getElementById("MainPreloader");

 

function initialise(){

    //find and returns the API starting with this window

   doLMSInitialize()

}

 

function getValue(elementName){

  var result = String(doLMSGetValue(elementName));

  return result;

}

 

function setValue(elementName, value){

  var result = doLMSSetValue(elementName, value);

  return result;

}

 

function finish(){

    doLMSFinish();

}

 

</script>

 

</div>

</body>

</html>

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Thursday, March 04, 2010 12:58 PM
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Ah, I have it now, in IE. Firefox is OK, right?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 12:55 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

But actually it disappears when viewing locally too.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: 04 March 2010 12:45
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Sorry been dealing with other things but just tested and NO - your LO does
the same as before - flashes and then disappears.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 04 March 2010 11:39
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Sorry modded scorm zip here:
http://ls.net.marjon.ac.uk/bbcswebdav/xid-309080_1 

 

Adam

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: Adam Read 
Sent: 04 March 2010 11:39
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Definitely doesn't fix my problem. 

 

Deleted everything from Moodle, re-downloaded the scorm RLO, unzipped,
edited scormRLO.htm with the two new body/div tags, saved, re-zipped, added
to moodle using scorm activity or IMS - still briefly appears then breaks.

 

Here's my modded scorm package - does this work on your Moodle?

 

L

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 11:30
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

modules/xerte/scorm

 

It will of course make it's way into the zip file.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 11:22 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Just finished testing and Yes it does seem to fix it for me! However I made
the change locally and then re-imported so as you say there may be some
caching going on in Adam's case.

 

This is great Julian (and Adam) thanks! - it's cropped up many times but
I've never seen the error Adam reported so never associated it with the
default screen size. A lot of people will be very happy! ;-)

 

Presumably you will add this to the downloads at some point? 

Also I can find it but to save a few minutes where does the scormRLO.htm sit
in the XOT directory or is it created dynamically? Would be good to be able
to replace a file so that it's fixed on existing installations.

 

Cheers

Ron 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 11:08
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Hmm. Well it did break in webct before and it doesn't now, so I don't have
anything more to go at.

 

Might just check with an entirely new object so there's no caching to the
old file (clutching at straws a bit I know)

 

Does it fix it for you Ron?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: Thursday, March 04, 2010 11:05 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Still breaks in Moodle for me after making those changes to scormRLO.htm

 

L

 

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 10:53
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

Got it:

 

It was the styles thing: make these changes to the html: specifically body
and div tags:

 

<body onload = "initialise();" onunload = "finish();" style="margin:0;
width:100%; height:100%; min-height:100%;">

 

<div style="min-height:100%; width:100%; height:100%;">

 

J

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Thursday, March 04, 2010 10:40 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

I posted about this issue previously (see subject:  scorm object white
screen) but hadn't discovered that it was the default size option that was
causing the problem. Thanks Adam! At least knowing that's the conflict
provides a short term solution e.g. set size to default. This has actually
cropped up many times but has seemed intermittent - it now seems clear that
the difference is the default size setting.

 

I've just tested the same LO I was using previously to test the problem and
as soon as that's set to default rather than full screen or full window the
LO works when imported as a scorm. However as Adam says when imported as a
normal zip the fill window works too. It seems likely that there's some
incompatibility between the Moodle scorm code and the full screen fill
window code.

 

You're right Julian - given that the only interaction tracked at the moment
is the Quiz page type there's few advantages and many disadvantage exporting
and importing as scorm. I usually recommend that people either link to and
use the moodle quiz for quizzes or separate LO's so that only LO's using the
quiz page are exported and imported and the others are just linked or
embedded.

 

It would be good to identify where the code conflict lies and fix it at some
point because dynamic sizing is definitely desirable but I simply don't have
time to explore that at the moment.

 

Cheers

Ron

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 10:05
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

The dark grey box is just the background: don't worry about that.

 

So it works locally. It doesn't work in Moodle. So what does Moodle do to it
to break it? Any other moodlers got any insight?

 

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: Thursday, March 04, 2010 9:48 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

I actually didn't think of just linking to it in XOT. Of course then we
can't use any grading stuff which scorm allows.

 

>> Does it fail even when the package is just run locally, and you've
clicked through the API errors to run the piece?

 

The scorm package loads locally but has some weird size: big grey box
underneath the RLO and weird behaviour on changing size'

 

Error! Filename not specified.

 

 

 

Cheers

 

Adam

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 04 March 2010 09:41
To: Xerte discussion list
Subject: RE: [Xerte] interesting problem when using SCORM in Moodle

 

The problem needs looking into. I think it is something to do with the
styles in the html. Compare the code in scormRLO.htm to the code in a normal
index.htm -that might help track it down.

 

But why export it anyway? Why not just link to the resource from moodle?
That way you can easily edit and update the resource from toolkits, copy it,
give it, duplicate it and adapt it - and all that good stuff.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: Thursday, March 04, 2010 9:38 AM
To: Xerte discussion list
Subject: [Xerte] interesting problem when using SCORM in Moodle

 

Hi all

 

Been experimenting with Moodle using some Xerte RLOs and uncovered a
problem. Exporting a XOT RLO as scorm and importing into Moodle using the
'add an IMS package' works fine and runs as should. However, setting the
'default size' in XOT for the RLO to either Full Screen or Fill Screen
breaks the RLO in Moodle - it completely disappears and leaves the following
error :

 

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
chromeframe; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
MJStf; InfoPath.2; MJStf)

Timestamp: Thu, 4 Mar 2010 09:28:37 UTC

 

 

Message: Object expected

Line: 82

Char: 4

Code: 0

URI: http://moodle.marjon.ac.uk/file.php/13/moddata/resource/52/scormRLO.htm

 

 If I export the RLO as a zip package and then link to the index.htm page it
displays fine from Moodle with the screen default size set.

 

Any ideas why this might be? I'd prefer it if we could use the full screen
option so that the RLO resizes to match the users browser window - and still
import as scorm (most our students will use laptops which chop off the
bottom of the default sized RLO)

 

Adam

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 





  _____  



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity the
trustee of which is a company limited by guarantee registered in England No.
986239

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 





  _____  



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity the
trustee of which is a company limited by guarantee registered in England No.
986239

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 





  _____  



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity the
trustee of which is a company limited by guarantee registered in England No.
986239

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 





  _____  



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity the
trustee of which is a company limited by guarantee registered in England No.
986239

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 





  _____  



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity the
trustee of which is a company limited by guarantee registered in England No.
986239

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 





  _____  



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity the
trustee of which is a company limited by guarantee registered in England No.
986239

 

 
 
 



  _____  



 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity the
trustee of which is a company limited by guarantee registered in England No.
986239

 

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100305/d2647905/attachment.html


More information about the Xerte mailing list