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

Incorrect render of mediaplugin element when added in activities/resources descriptions

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course
      2. Create a URL or Assign
      3. Add a link to some video to description
      4. Check 'Display description'
      5. Confirm that the video is not causing horizontal scrolling, and appears centered.
      6. Create a label with a video
      7. Confirm that the video is also centered. Note that label text and activities descriptions have different layouts and centers of them do not match
      8. Toggle editing mode on and off
      Show
      Create a course Create a URL or Assign Add a link to some video to description Check 'Display description' Confirm that the video is not causing horizontal scrolling, and appears centered. Create a label with a video Confirm that the video is also centered. Note that label text and activities descriptions have different layouts and centers of them do not match Toggle editing mode on and off
    • Workaround:
      Hide

      Put the following css in any of your style sheet (e.g. theme):

      .mediaplugin {
          width: 100% !important; 
      }
      

      Show
      Put the following css in any of your style sheet (e.g. theme): .mediaplugin { width: 100% !important; }
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-57991-master

      Description

      When some resource or activity added with a description that has media content, it's wrongly styled when displayed on the course page. The problem seems to be with mediaplugin renderer css.

      Occurs in Chrome and FF, didn't check the rest.

        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/Sep/17