Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4521

iOS: SCORM sometimes show a blank page when changing the SCO

    XMLWordPrintable

Details

    • Hide

      This issue only needs to be tested in iOS.

      1. In the app, open a SCORM that has several SCOs.
      2. Using the bottom arrows, keep changing the SCO. Check that the SCO content loads successfully. Before this change, sometimes the SCO displayed a blank page. Please notice that, due to this change, there will be a minor blink effect when changing SCO (it already happened before, but now it's a bit more noticeable because the full screen button also blinks).
      Show
      This issue only needs to be tested in iOS. In the app, open a SCORM that has several SCOs. Using the bottom arrows, keep changing the SCO. Check that the SCO content loads successfully. Before this change, sometimes the SCO displayed a blank page. Please notice that, due to this change, there will be a minor blink effect when changing SCO (it already happened before, but now it's a bit more noticeable because the full screen button also blinks).
    • MOODLE_403_STABLE
    • Moodle Apps - 2024 i1.3

    Description

      This seems to be a regression caused by MOBILE-4420. In that issue, to force unloading the previous SCO before setting the new one, we first set an empty src (empty string) and then set the final URL.

      This works fine in Android, but in iOS sometimes the iframe gets stuck loading an "about:blank" page.

      One possible solution would be to destroy the whole iframe when the src is empty instead of setting it to an empty src. This can cause a blink effect though. Also, this means everytime we change SCO we would need to set the iframe listeners again because the iframe element is recreated (we can do this using a setter on ViewChild).

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              dpalou Dani Palou
              Pau Ferrer Pau Ferrer
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.