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

Embedded media are broken for 'Login as' functionality

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.6, 3.6.4, 3.7
    • Fix Version/s: None
    • Component/s: Media
    • Labels:
    • Testing Instructions:
      Hide
      1. create a course
      2. edit any section (not course description) and insert youtube video - insert smth like 

        <p style="text-align: center;"><iframe width="800" height="450" src="https://www.youtube.com/embed/qE8Z8VnLepY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" enablejsapi="1" id="widget2"></iframe></p>
        <p> Text is shown </p>
        

      1. Make sure video is displayed and plays as expected for admin
      2. Login as any student in that course using 'Login as' feature. Go to course page
      3. Video is NOT showing at all
      Show
      create a course edit any section (not course description) and insert youtube video - insert smth like  <p style= "text-align: center;" ><iframe width= "800" height= "450" src= "https://www.youtube.com/embed/qE8Z8VnLepY" frameborder= "0" allow= "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen= "" enablejsapi= "1" id= "widget2" ></iframe></p> <p> Text is shown </p> Make sure video is displayed and plays as expected for admin Login as any student in that course using 'Login as' feature. Go to course page Video is NOT showing at all
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

      Description

      After recent security patch https://tracker.moodle.org/browse/MDL-63786 certain functions are not behaving as they used to. For example embedded video is not showing when using 'Login As' feature

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ilyatregubov Ilya Tregubov
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: