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

Change SCORM width/height settings behaviour

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.1
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      From the user POV there are some errors on the settings of the scorm size under appearance header:

      1. Both are set to be PARAM_INT but admit chars.
      2. WS only sends the integer part.
      3. Wiki doc should be moved to the interface. It assumes integer less than 100 is % and greater are pixels.
      4. There are more available css size units that are not checked.
      5. Only 5 chars per field are allowed so 1024px is not allowed.

      IMO, the interface should allow to switch from relative to fixed values (ie. with a toggle) and then only admit a number. The WS should inform that as well. If the toggle is missing, then the field description should explain what happens, and should not allow chars, only numbers. Also this can be solved with JS, adding % or px at the right of the field when <= 100 or > 100.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pferre22 Pau Ferrer
            Participants:
            Component watchers:
            Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: