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

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

Napisane bez: Mathew Gancarz ()
Liczba ôdpowiedzi: 4
Ôbrŏz 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


W ôdpowiedzi na Mathew Gancarz

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

Napisane bez: Dan Marsden ()
Ôbrŏz Core developers Ôbrŏz Particularly helpful Moodlers Ôbrŏz Peer reviewers Ôbrŏz Plugin developers Ôbrŏz Plugins guardians Ôbrŏz Testers Ôbrŏz Translators
W ôdpowiedzi na Dan Marsden

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

Napisane bez: Mathew Gancarz ()
Ôbrŏz 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;
}

W ôdpowiedzi na Mathew Gancarz

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

Napisane bez: Sandeep Kankatala ()

Thanks Mathew. This worked for me.

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


W ôdpowiedzi na Sandeep Kankatala

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

Napisane bez: 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