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

"Loginas" Feature no longer allows users to view embedded videos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.6.3
    • Administration
    • None
    • MOODLE_36_STABLE

      DESCRIPTION

      “Log in as” feature no longer allows users to view embedded videos.

      STEPS TO REPLICATE

      1. In any course logged in as an administrator, create a page resource and copy embedded video code directly into the Content section after selecting the HTML button on the editor toolbar. (for testing purposes this code was used <iframe src="https://player.vimeo.com/video/335292911" width="640" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>

      2. View page to make sure video displays and plays correctly in Moodle

      3. Enroll a test user in course with the “student” role.

      4. Log in as the test student using the “loginas” feature.

      5. View the page again to verify video is no longer viewable.

      6. Now log in with the same test user using username and password and not the “loginas” feature.

      7. View the page again to verify video can be viewed and displays properly.

      OBSERVED BEHAVIOR:

      When using the loginas feature the embedded video is not displayed

      EXPECTED BEHAVIOR:

      When using the loginas feature embedded video should display normally as it does when
      actually logged in with a user (username and password).

      REPLICATION LOCATIONS

      Replicated issue in Version 3.6.3
      Issue not present in Version 3.4.3

            Unassigned Unassigned
            johnhege John Hege
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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