SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Nick Clover-Brown -
Number of replies: 9

We'd like to launch our SCORMs at the greatest possible size, which would be in a new window.

However, using the display settings of 100% height, 100% width the window is neither full height / width, nor maximized. 

Worse, in Chrome, the window is often partially off the screen. 

How can we fix this?

This is in a Moodle 3.8 instance. Below are the three browser examples


Chrome


Firefox


Edge



Average of ratings: -
In reply to Nick Clover-Brown

Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Nick Clover-Brown -
Anyone have any solutions on this? is this the standard moodle behavior, or is there something wrong with our setup?

thanks
In reply to Nick Clover-Brown

Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Melanie Scott -
Picture of Particularly helpful Moodlers

I would check the dimensions of your package. 100% means 100% of the screen, not your package.  If your package is 800 X 600, you'll have space on both sides. 

What are the display properties on your computer? Is the actual content off screen or is it just the window?  Do you use dual screens? Sometimes my windows open slightly off the screen when I'm using dual monitors.

Have you tried multiple computers? Same or different behavior?

Average of ratings: Useful (1)
In reply to Nick Clover-Brown

Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Stuart Humphries -
Hello,

We are experiencing something very similar to this, did you manage to get a solution for this?
Cheers,
In reply to Stuart Humphries

Odp: Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Mateusz Szuter -

There is no solution. That's normal behavior. 

1) Your course have some ratio. EG. 1920x1080 has 16:9. 

2) Your resolution of the screen could be 1920x1080 - when you hit F11 (fullscreen browser) the course should go full screen and fill all available space.

3) BUT if you dont, there are browser controls, which take some of the height, hence the width goes a little down because of your ratio.

4) If you use built-in storyline sidebar/topbar it also adds some pixels.

You can try to adjust your course size in storyline, but that's futile. You would must assume that every computer has the same browser configuration etc. 

Average of ratings: Useful (3)
In reply to Mateusz Szuter

Re: Odp: Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Stuart Humphries -
Hi Mateusz,

Thank you for your advice. We're just a bit confused as it seems to have happened overnight on our VLE.

Cheers,
Stuart
In reply to Nick Clover-Brown

Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by tim st.clair -
Picture of Plugin developers

Maybe it's because the embedded iframe is set in there at 98% of its parent container width for some inexplicable reason. If I look at the iframe for my package with developer tools, the width and height aren't set to take up the full width.

screenshot of developer tools

If possible in your theme, perhaps you could add this custom css/ scss setting ?

#page-mod-scorm-player #scormpage #scorm_object {
    border: none;
    width: 100%;
    height: 100%;
}


Average of ratings: Useful (1)
In reply to tim st.clair

Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators
that 98% css goes back over 8 years and landed in MDL-39910 smile

If changing to 100% fixes it for you please let us know here - also please include what authoring tool you have used to create your SCORM package so that others using the same authoring tool can try it out!

The other thing that is partially related to this is MDL-62057 - one day it would be good to clean that stuff up!!
Average of ratings: Useful (1)
In reply to Dan Marsden

Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Stuart Humphries -
Thanks Dan and Tim.

In our case, the SCORM packages have been working fine when uploading IsEazy and Koantic SCORM packages. We then uploaded a package built on Adapt it seems to have thrown it all off somehow.
In reply to Dan Marsden

Re: SCORM in 100% New Window is not full width or height, nor Maximized - any fix?

by Alexandre Cardano -

It actually works !

It make the background of my SCORM exercise touch the border of the window on both sides, whereas it didn't touch on the right side before.