Skip to content

engage.streaming.rwth-aachen.de iframes in assignment intro aren't downloaded #91

@jkhsjdhjs

Description

@jkhsjdhjs

The course Theoretische Informationstechnik 1 contains https://engage.streaming.rwth-aachen.de iframes, which aren't downloaded.
They are contained in the intro property of the respective assignment object:

{
  "id": 16842,
  "fullname": "Theoretische Informationstechnik 1 (VO) [21ws-61.03482]",
  "shortname": "(VO) Theoretische Informationstechnik 1",
  "timemodified": 1644494446,
  "assignments": [
    {
      "id": 29716,
      "cmid": 767824,
      "course": 16842,
      "name": "Übung 02 (28.10.2021)",
      "nosubmissions": 0,
      "submissiondrafts": 0,
      "sendnotifications": 0,
      "sendlatenotifications": 0,
      "sendstudentnotifications": 1,
      "duedate": 0,
      "allowsubmissionsfromdate": 1634853600,
      "grade": 100,
      "timemodified": 1638445053,
      "completionsubmit": 1,
      "cutoffdate": 1635408000,
      "gradingduedate": 0,
      "teamsubmission": 0,
      "requireallteammemberssubmit": 0,
      "teamsubmissiongroupingid": 0,
      "blindmarking": 0,
      "hidegrader": 0,
      "revealidentities": 0,
      "attemptreopenmethod": "none",
      "maxattempts": -1,
      "markingworkflow": 0,
      "markingallocation": 0,
      "requiresubmissionstatement": 0,
      "preventsubmissionnotingroup": 1,
      "configs": [
        {
          "plugin": "file",
          "subtype": "assignsubmission",
          "name": "enabled",
          "value": "1"
        },
        {
          "plugin": "file",
          "subtype": "assignsubmission",
          "name": "maxfilesubmissions",
          "value": "2"
        },
        {
          "plugin": "file",
          "subtype": "assignsubmission",
          "name": "maxsubmissionsizebytes",
          "value": "262144000"
        },
        {
          "plugin": "file",
          "subtype": "assignsubmission",
          "name": "filetypeslist",
          "value": ""
        },
        {
          "plugin": "comments",
          "subtype": "assignsubmission",
          "name": "enabled",
          "value": "1"
        },
        {
          "plugin": "comments",
          "subtype": "assignfeedback",
          "name": "enabled",
          "value": "1"
        },
        {
          "plugin": "comments",
          "subtype": "assignfeedback",
          "name": "commentinline",
          "value": "0"
        },
        {
          "plugin": "editpdf",
          "subtype": "assignfeedback",
          "name": "enabled",
          "value": "1"
        }
      ],
      "intro": "<p dir=\"ltr\" style=\"text-align: left;\">&nbsp;<span class=\"occontainer_outer\">\n  <span class=\"occontainer_inner\">\n    <iframe data-frameSrc=\"https://engage.streaming.rwth-aachen.de/play/664ffa9d-00f3-4c9b-baf0-0b29eb2fd212\" class=\"ocplayer\" allowfullscreen=\"true\"></iframe>\n  </span>\n</span>&nbsp;<br></p>",
      "introformat": 1,
      "introfiles": [],
      "introattachments": [
        {
          "filename": "loesung02.pdf",
          "filepath": "/",
          "filesize": 278975,
          "fileurl": "https://moodle.rwth-aachen.de/webservice/pluginfile.php/1827499/mod_assign/introattachment/0/loesung02.pdf",
          "timemodified": 1635415171,
          "mimetype": "application/pdf",
          "isexternalfile": false
        },
        {
          "filename": "mitschrift.pdf",
          "filepath": "/",
          "filesize": 577983,
          "fileurl": "https://moodle.rwth-aachen.de/webservice/pluginfile.php/1827499/mod_assign/introattachment/0/mitschrift.pdf",
          "timemodified": 1635415171,
          "mimetype": "application/pdf",
          "isexternalfile": false
        },
        {
          "filename": "uebung02.pdf",
          "filepath": "/",
          "filesize": 230409,
          "fileurl": "https://moodle.rwth-aachen.de/webservice/pluginfile.php/1827499/mod_assign/introattachment/0/uebung02.pdf",
          "timemodified": 1634900182,
          "mimetype": "application/pdf",
          "isexternalfile": false
        },
        {
          "filename": "uebung2_video.mp4",
          "filepath": "/",
          "filesize": 32365720,
          "fileurl": "https://moodle.rwth-aachen.de/webservice/pluginfile.php/1827499/mod_assign/introattachment/0/uebung2_video.mp4",
          "timemodified": 1635418476,
          "mimetype": "video/mp4",
          "isexternalfile": false
        }
      ]
    }
  ]
}

(I removed all but one assignment object to keep the output short)

In this case the video is also contained as an attached file named uebung2_video.mp4, but this isn't always the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions