Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62057

Adjust SCORM frame sizing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: DEV backlog
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:

      Description

      Moving Ron Meske comment on MDL-46563 into a new tracker issue:

      I may be missing something, but why does the SCORM iFrame need to be a fixed size? There should be an option to use a fixed size, or have it size to it's container/window. This would allow courses that are responsive to be displayed properly.

      Here is a crude example: https://codepen.io/rmeske/pen/mLyKKo

      When viewing my provided example on my iPhone the width is honored. There is an issue with top position, probably because I used a percentage or perhaps it is the position of relative causing it.

      The key to sizing the iframe with percentages is placing it within a DIV and sizing the div.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                danmarsden Dan Marsden
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                6 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: