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

Media plugin filter is truncating width and height to 3 digits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.4
    • Component/s: Filters
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Media plugin filter has regexp's to determine which plugin to use. The problem is that currently it reads only 3 digits (symbols) of width and height, passed in the link. This makes impossible to have, for example, 1024x768 video frame etc.
      The patch included fixes this, changing number of symbols to read in all regexp's from 3 to 4.

        Attachments

          Activity

            People

            Assignee:
            dongsheng Dongsheng Cai
            Reporter:
            argentum Vlas Voloshin
            Tester:
            Petr Skoda Petr Skoda
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jan/09