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

Embedded media content displays net::ERR_INTERNET_DISCONNECTED. when offline

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In the app, go to Mobile 34 > MM Dev Testing > Resource: URL.
      2. Open the activity "Embedded URL". Check that it's loaded fine. This is to make sure the required WS calls are cached.
      3. Go back to the section, go offline and open the URL again. Check that now you see a warning saying you are offline.
      4. Still inside this page, go online. Check that the warning disappears and the iframe is shown.
      5. Repeat these steps with MM Dev Testing > Resource: Page > Page with this course embedded.
      6. Now open "Page with this course embedded" while online. Once it is loaded, go offline and click any link inside the iframe. Check that the browser is opened and it displays an offline warning.
      Show
      In the app, go to Mobile 34 > MM Dev Testing > Resource: URL. Open the activity "Embedded URL". Check that it's loaded fine. This is to make sure the required WS calls are cached. Go back to the section, go offline and open the URL again. Check that now you see a warning saying you are offline. Still inside this page, go online. Check that the warning disappears and the iframe is shown. Repeat these steps with MM Dev Testing > Resource: Page > Page with this course embedded. Now open "Page with this course embedded" while online. Once it is loaded, go offline and click any link inside the iframe. Check that the browser is opened and it displays an offline warning.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      Embedded media content displays the error when the user is using the app in offline. We are already treating iframes so maybe instead embedding content that is not going to be displayed we should display a message like "This content is not visible when you are not connected to Internet"

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jan/19