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

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

    XMLWordPrintable

Details

    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-57991-master
    • 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; }
    • 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

    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

              maherne Michael Aherne
              pavel.m.sokolov Pavel Sokolov
              Marina Glancy Marina Glancy
              David Monllaó David Monllaó
              Simey Lameze Simey Lameze
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Sep/17