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

Media not displaying in Lesson question response depending on filter order

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-63512-master
    • Hide

      Test with both boost and clean

      Prerequistes:

      1. Teacher and student login
      2. A course that the teacher has access to
      3. Student enrolled into the course.
      4. Use the following video link when required:
        https://www.youtube.com/watch?v=Ts-27Sv8KKc

      Testing instructions:

      1. Login as a teacher/admin
      2. Create a lesson
      3. Create a new (multichoice) question page
      4. Set the answer and response both with a video link embedded
      5. Login as a student and start the lesson
      6. Confirm the video shows up correctly in the question and is playable
      7. Answer the question(in 3) and submit
      8.  Confirm the feedback(from Step 4) shows up with the video link embedded and is playable
      9. Confirm the answer(from Step 4) shows up with the video link embedded and is playable
      10. Repeat(3-9) with the following pagetypes:
        1. truefalse
        2. numerical
        3. matching
        4. shortanswer
      Show
      Test with both boost and clean Prerequistes: Teacher and student login A course that the teacher has access to Student enrolled into the course. Use the following video link when required: https://www.youtube.com/watch?v=Ts-27Sv8KKc Testing instructions: Login as a teacher/admin Create a lesson Create a new (multichoice) question page Set the answer and response both with a video link embedded Login as a student and start the lesson Confirm the video shows up correctly in the question and is playable Answer the question(in 3) and submit   Confirm the feedback(from Step 4) shows up with the video link embedded and is playable Confirm the answer(from Step 4) shows up with the video link embedded and is playable Repeat(3-9) with the following pagetypes: truefalse numerical matching shortanswer

      DESCRIPTION: When adding media to a Lesson question 'response' field the media URL displays hyperlinked and no media player is displayed. This is dependent upon the order of filters in <siteurl>/admin/filters.php.
       
      If Multimedia plugins is above Convert URLs into links and images then no media is displayed. If this is the other way around then the media will display most of the time.  Unfortunately this can break media display in other areas like course sections.

      STEPS TO REPLICATE

      1. Ensure 'Convert URLs into links and images' and 'Multimedia plugins' are enabled in Site admin>Plugins>Filters>Manage filters
      2. Ensure 'Multimedia plugins' is above 'Convert URLs into links and images'
      3. Create a Lesson activity
      4. Create a question page
      5. Add a multichoice question and create two answers
      6. In the 'Response' field for both, paste a link to a video e.g. https://www.youtube.com/watch?v=Fay8I7JyxGY
      7. Preview the question and select any answer
      8. Note that no video appears - instead, what looks like the inside of an iframe tags appears

      ADDITIONAL INVESTIGATION NOTES

      • Videos appear fine in the 'Edit' tab
      • Videos appear fine in the question field when previewing|
      • Doesn't appear to be the same issue as MDL-51745 which affects the answer text

        1. 1.PNG
          1.PNG
          301 kB
        2. 2.PNG
          2.PNG
          237 kB
        3. 3.PNG
          3.PNG
          65 kB
        4. clean-overlaps-with-selectbox.png
          clean-overlaps-with-selectbox.png
          216 kB
        5. image-2018-12-20-10-32-44-530.png
          image-2018-12-20-10-32-44-530.png
          209 kB
        6. screenshot-1.png
          screenshot-1.png
          190 kB
        7. Screen Shot 2018-10-16 at 8.59.00 PM.png
          Screen Shot 2018-10-16 at 8.59.00 PM.png
          73 kB
        8. Screen Shot 2018-10-16 at 9.01.36 PM.png
          Screen Shot 2018-10-16 at 9.01.36 PM.png
          148 kB
        9. Screen Shot 2018-10-16 at 9.01.44 PM.png
          Screen Shot 2018-10-16 at 9.01.44 PM.png
          150 kB
        10. Screenshot from 2018-12-11 09-21-56.png
          Screenshot from 2018-12-11 09-21-56.png
          23 kB
        11. Screenshot from 2018-12-11 09-25-33.png
          Screenshot from 2018-12-11 09-25-33.png
          16 kB
        12. youtube1.png
          youtube1.png
          88 kB
        13. youtube2.png
          youtube2.png
          42 kB
        14. youtube with js player.png
          youtube with js player.png
          59 kB
        15. youtube with youtube player.png
          youtube with youtube player.png
          72 kB

            peterdias Peter Dias
            prankin Phillip Rankin
            Adrian Greeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.