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

mod_resource file embeds should output through the filter API

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-72452-resource-filter
    • Hide

      Just a regression test.

      1.  Create a test course
      2. Click Turn editing on
      3. Click Add an activity or resource
      4. Click File
      5. Set Name to test
      6. Upload the attached video file in the Select files area
      7. Click Save and Display
      8. Verify the video is correctly embedded.
      9. Verify you can play the video.
      Show
      Just a regression test.  Create a test course Click Turn editing on Click Add an activity or resource Click File Set Name to test Upload the attached video file in the Select files area Click Save and Display Verify the video is correctly embedded . Verify you can play the video.

      Currently any embed provided by the media manager for embedding a video or audio file is directly echoed to the page without passing through the filter API. This means that any filter that performs actions on top of media embeds can not directly target these embeds, while an identical embed in a description for the same activity will be correctly targeted

            peterburnett Peter Burnett
            peterburnett Peter Burnett
            Ilya Tregubov Ilya Tregubov
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m

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