Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 1.43 KB

README.md

File metadata and controls

33 lines (17 loc) · 1.43 KB

Ad-hoc filter for UbiCast Nudgis Atto plugin

This filter alleviates the problem which arises when atto_ubicast tries to inject an <iframe> HTML tag directly into text fields. This works for teachers and "trusted users" but not all users and not in all locations. Optionally, the atto_ubicast cans insert an <img> HTML tag instead. This tag's usage is unrestricted and is then turned into an iframe at the rendering stage by this plugin.

Installation

You can either use the official files available in moodle.org or install the filter manually.

The moodle.org link is:

https://moodle.org/plugins/filter_ubicast

To install the filter manually:

cd moodle/filter
git clone https://github.com/UbiCastTeam/moodle-filter_ubicast ubicast

Activation

First, you need to turn on the filter in the /admin/filters.php page of your Moodle instance.

Then, you need to enable the <img> tag insertion in the atto_ubicast plugin. This can be done in the atto_ubicast plugin settings: /admin/settings.php?section=atto_ubicast_settings.

Feature: Rendering as playlist

Optionally, this plugin can render multiple media in the same text using a playlist: a block with the player on the left and the list of media on the right. If some content is present between media, no playlist will be rendered.

This feature is disabled by default and can be enabled in the plugin settings: /admin/settings.php?section=filtersettingubicast.