Moodle Plugins directory: UbiCast Nudgis atto button: Versions: 2.1 | Moodle.org
UbiCast Nudgis atto button
UbiCast Nudgis atto button 2.1
Code prechecks
UbiCast Nudgis Atto button plugin
Copyright: UbiCast (https://www.ubicast.eu) License: https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Description:
This Atto button plugin allows users to add media from a UbiCast Nudgis in their Moodle course from the Atto editor directly.
Dependencies:
- The UbiCast base plugin:
mod_ubicast
(https://github.com/UbiCastTeam/moodle-mod_ubicast). - A UbiCast Nudgis web site (version >= 8.1). Visit https://www.ubicast.eu/en/solutions/delivery/ to ask for a trial.
- Cookies must be allowed for the Nudgis web site (see note below).
Important note about cookies:
In order to make the LTI authentication work, Nudgis needs cookies usage.
If your Nudgis is using a domain totally different from your Moodle domain, cookies will probably get blocked by browsers because they will be classified as third party cookies.
To avoid Nudgis cookies to be considered as third party cookies, we recommend to use a sub domain for Nudgis using the same top domain as the Moodle site (for example, if your Moodle uses moodle.yourdomain.com
as domain, you can use nudgis.yourdomain.com
as Nudgis domain).
It is also possible to allow third party cookies usage in the browser settings.
Installation:
- In the Moodle server, go to the Moodle atto plugins directory:
cd lib/editor/atto/plugins
- Clone the repository:
git clone https://github.com/UbiCastTeam/moodle-atto_ubicast.git ubicast
- Visit Moodle as administrator
- Navigate to Dashboard (upgrade your Moodle)
- Navigate to Site administration > Plugins > Text editors > Atto HTML editor > Atto toolbar settings
- Add
ubicast
in thefiles
section of the toolbar config (for example, thefiles
section may befiles = image, media, recordrtc, managefiles, ubicast
) or addubicast = ubicast
at the end.
Usage:
- Adding a media
- Click on the Nudgis button.
- Select the media which should be embedded.
- Click on "insert" and it's done!
- Professor view
- Student view
Development:
If you don't have anything set up, follow the Development Environment
setup instructions in https://github.com/UbiCastTeam/moodle-mod_ubicast
Then:
- Copy this folder into the
lib/editor/atto/plugins
folder of your moodle installation. - In command-line, go to the
yui/src
subfolder of the plugin - If you don't have it already, install
shifter
globally (npm install -g shifter
oryarn global add shifter
) - Run
shifter --watch
How does it work?
This plugin relies heavily on the https://github.com/UbiCastTeam/moodle-mod_ubicast plugin's LTI video integration mechanism that you can read on in said README.
What the Atto plugin does is only opening a modal asking for the video ID and inserts an iframe the same way the moodle-mod_ubicast
does.
Relevant Moodle Documentation:
- https://docs.moodle.org/dev/Atto (pretty incomplete, sadly)
- https://docs.moodle.org/dev/YUI/Modules
- The
lib/editor/atto/plugins
folder and Ctrl+F are your best friends!
Version information
- Version build number
- 2024121000
- Version release name
- 2.1
- Maturity
- Stabila versija
- MD5 Sum
- edebae177eae09a9fe165348f2781725
- Supported software
- Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5
- Latest release for Moodle 3.7
- Latest release for Moodle 3.8
- Latest release for Moodle 3.9
- Latest release for Moodle 3.10
- Latest release for Moodle 3.11
- Latest release for Moodle 4.0
- Latest release for Moodle 4.1
- Latest release for Moodle 4.2
- Latest release for Moodle 4.3
- Latest release for Moodle 4.4
- Latest release for Moodle 4.5
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Atto
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myeditorplugin") in the "lib/editor/atto/plugins" subdirectory.
- Visit http://yoursite.com/admin to finish installation of the plugin.
To make the newly installed plugin available, you need to edit the Atto toolbar configuration so that the new plugin appears in the toolbar.
- Go to your Site administration ►Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings
- Add the new plugin to the desired position in the toolbar.