Showing a SCORM in a window - Player has a gray backgound.

I was wondering if anyone came up with this issue before.

I am trying to insert a SCORM file produced with presenter in a small window (inside moodle) and I am having problems with the layout.  For those who know Moodle, please note that I am choosing not to create a pop-up window, following a request from my client, as they said they had numerous problems in the past with IE, pop up blockers, etc...  Plus, I like the way the 'theme' is setup and would only like to display my course in this small window allocated.

I have been pointed that the problem lies in the player that is inside the SCORM and I was wondering if anyone knows how to fix that.

Here is a screenshot that shows my problem.   The SCORM player size in Moodle, adapts to size of the SCORM size.  And it seems like this file from articulate is not only sending the player, but also the gray backgorund inside the SCORM.

I've tried to 'force' the size of the window in Moodle to the size of the Articulate player, but apparently, the gray background is part of the player and it goes inside the SCORM, and it only seems to take in account the size of the browser window to resize itself, not the size of the Moodle SCORM player.

So as you see here, although the Moodle player window is now the same size as the Articulate player (minus the background), the SCORM is reading the size of the browser window to setup it's size, plus centering the player in it.

A peer has been trying to get help in Moodle Forums but was told that the problem lies in the SCORM file itself, that the backrgound is included in the SCORM.

It will be great to be able to opt not to include the gray background when publishing, but I don't think that's possible, so I'm open to a 'hack' to the code if there is any workaround.

I would even be happy if it was even possible to align the player to the top of the gray background, as I can easily resize that window in Moodle so the gray background will be there but hidden.

Thanks for your help!


14 Replies
Todd Thornton


Are you using Moodle 2.3? If so, I'm also seeing some erratic displaying of SCORM content with the latest code so I suspect it's something in the Moodle SCORM module. Not suggesting you couldn't try adjusting the colors, but not as many people you think use SCORM inside Moodle and most that do don't necessarily use the latest Moodle code. (colleges who have not upgraded yet, etc.) Point being you could very well be among the first to discover a problem with the latest 2.3 update.

Mariano Aran

Thanks for your comments Phil and Todd.  I have installed Moodle 2.3 indeed.

Thanks for the suggestion Phil, but maybe I have not explained my problem correctly.  The issue is not the colour of that gray background, the problem is that it exists.  As you see in the first screenshot, the actual course gets centred in that area.  

So I am thinking that if I can't get rid of the gray area, the only other solution left would be to align the course itself to the top left corner.

I'll see the player.html to see if I can find something there, but to be honest, I'm not really sure what should I be looking for as I am not a programmer :(

@Todd, I can replicate this behaviour just by playing player.html without using moodle at all.  If I make the browser window narrow enough, the course starts moving down (centred on the screen) 

Mariano Aran

Phil Mayor said:

Which version of moodle are you using?

Are you opeing in a new window?

Have you installed it as a SCORM?  You may need to edit the scorm window in moodle. 

You may need to play with the browser window settings in player templates and remember to the select the new template when you publish, allowing the window to be resized in moodle may also help.

The player.html file already loads the course in at 0,0 so it is likely a moodle issue, and you would therefore need to edit your scorm window

Hi Phil,

I'll go one by one.

  1. I am using Moodle 2.2 and 2.3.
  2. Not opening in a new window (customer prefers no popups as they had it working in 1.9 like that after many problems with popups)
  3. Yes, I import a SCORM that was packaged in Presenter and another one with Storyline, same results with both
  4. Tried all the combinations possible with the browser windows settings with the same result.
  5. If I run the course from my local drive by clicking on player.html (before sending anything to Moodle), I get the same result.  As soon as I make the browser narrower the course starts going down (see this next screenshot)

This is what I think.

Am I wrong to assume by looking at the image above that something in the player.html or somewhere in the published files is telling the course window to center vertically.

Melissa Tommarello

I have also run into this issue, but only since we upgraded from Moodle 1.9 to Moodle 2.2.  This first made me think it was a issue with Moodle and tried to seek help on the Moodle Forums, but as you Erica says this is actually a part of the Articulate Player - I think it must just interact differently with 2..2 then it did with previous versions.  We also embed most of our SCROM modules into the same screen rather than opening in a new window, but even we do open it in a new window the grey frame is still there just in a slightly different proportion.

I think you are right in assuming that it is something in the player.html and the only work around that I can see resolving this at the moment is by editing the player.html file.  This is issue is causing us quite a few issues because users have to scroll down to centre the SCROM module and see the navigation buttons.

Adam Roylance

A bit of extra detail - I have tried the launch player in a new window settings (in Moodle and Storyline) all to no avail.

I have just gone to the story size setting and tried to set the story size to fill background and top left setting - no effect. Interestingly, when I went back to the setting it was back in its default: Scale to fit - middle centre.

Could this be associated with the issue?



John Black

This problem is also discussed on here. Dan Marsden, Moodle's top SCORM expert (and a member of the Articulate community), identifies this as an Articulate problem.

I would like to hear from someone who works at Articulate. Has this bug been documented? Is there an open case to repair it? If not, how do I open one? You have a big community of Moodle users and this problem degrades the user experience.

John Black

We have created the issue Blank space in SCORM windows, MDL-47500 in the Moodle Tracker. If you would like to see this resolved more quickly, please logon the Tracker (register first, if necessary) and vote for the issue. If you have any technical capabilities or insights that will help fix the problem, please post them in the Tracker.

(While you are there, please also vote for MDL-45712. It will enable you to quickly analyze how many users are missing particular questions in Articulate quizzes.)

Mariano Aran

Thanks for reporting this John...  Good to know they finally found a fix of a bug that was marked as critical, over 4 years later... We gave up on this a long while ago.  

Unfortunately we work with non-profict organisations that usually can't afford huge LMS expenses, so they are stuck with Moodle and all its issues working with SCORM files.