SCORM player broken in Safari 8, same issue as with Chrome before?

SCORM player broken in Safari 8, same issue as with Chrome before?

by Mathew Gancarz -
Number of replies: 4
Picture of Core developers

Hi all, wanted to report that we recently upgraded to latest Moodle 2.8.7+ and found an issue with Scorm packages when using the latest Safari 8 on OS X Yosemite. I have tested Safari 7 on Mavericks, and could not get the issue to appear then.

I was also able to make the problem happen on demo.moodle.net while it is on 2.9.1, so it is not isolated to our environment/theme.

It looks like it behaves identically to the previous issue in Chrome: https://moodle.org/mod/forum/discuss.php?d=275636 

When you open it, only about a 50 pixel bar is displayed, with a scroll bar. It only fixes itself when you resize the browser window. Could it the same bug that cropped up in Chrome made it's way into Safari?

I'm working around it for now by forcing a set height, as per Rolf's post: https://moodle.org/mod/forum/discuss.php?d=275636#p1198787

There was a bug going for it, but I'm not should if it should be re-opened and updated for Safari or.. https://tracker.moodle.org/browse/MDL-48375


Average of ratings: -
In reply to Mathew Gancarz

Re: SCORM player broken in Safari 8, same issue as with Chrome before?

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

does the css fix suggested for chrome fix it?

https://moodle.org/mod/forum/discuss.php?d=277360#p1193793

In reply to Dan Marsden

Re: SCORM player broken in Safari 8, same issue as with Chrome before?

by Mathew Gancarz -
Picture of Core developers

Hi Dan, confirming that the css below does fix this issue in Safari 8, as linked in https://moodle.org/mod/forum/discuss.php?d=277360#p1193793

/* set up the keyframes */
@-webkit-keyframes nodeInserted {
  from { opacity: 0.99; }
  to { opacity: 1; }
}
/* force a repaint with a super short duration */
#scorm_content > iframe
{
  -webkit-animation-duration: 0.001s;
  -webkit-animation-name: nodeInserted;
}

Average of ratings: Useful (1)
In reply to Mathew Gancarz

Re: SCORM player broken in Safari 8, same issue as with Chrome before?

by Sandeep Kankatala -

Thanks Mathew. This worked for me.

Confirming this fixes Safari 9 as well. (Tested on OS X El Capitan).


In reply to Sandeep Kankatala

Re: SCORM player broken in Safari 8, same issue as with Chrome before?

by Tim Krüger -

I had that issues once when opening the scorm module in a new window with width / height of 100%. I could solve it by setting the width and height of the new window to 95%.

Tim