
Opencast Videos
- Moodle 1.9–5.1
- 更新 2026-07-22
Moodle block plugin which can be used to link Moodle courses to Opencast series. Teachers can use this block to upload videos to Moodle which are then transmitted to Opencast and processed there afterwards.
Opencast is a flexible, reliable, and scalable open-source video-capture, -management, and -distribution system for academic institutions, built by a community of developers from leading universities and organizations worldwide.
Integrating Opencast into Moodle is realized with a set of flexible plugins.
All Opencast plugins for Moodle Documentation The Opencast Project
About this plugin
This block can be used to link moodle courses to opencast series. Users with respective privileges (in the following called teacher) can use this block to upload videos via moodle to opencast. These videos are transmitted to the opencast system by the cronjob and create a event for the respective series there. The block can be used to automatically set the access privileges of moodle users enrolled in the course. All events belonging to the series are displayed in the block. This way, the teacher gets an overview of all recorded lectures as well as planned ones. Further, if setup correctly, the teacher is able to restrict the visibility to moodle groups or prevent access by students at all.
Configuration
In the settings of the block you need to insert the required data for uploading a video in the opencast system:
After uploading a video file to moodle, the video has to be transferred to opencast. This is done via a cronjob, which processes all Upload Jobs in a first in first out fashion.
Please make sure that the Maximum Time limit for cron execution in Site administration -> Server -> Performance is not restricted (value of 0 means no timelimit). Then the cron job is not terminated early.
The plugin tool_opencast bundles some administration settings for all opencast plugins, which have to be configured as well!
Settings for upload jobs
In this section you can define the following settings:
How many videos are uploaded within one run of the cronjob. If it is set to 0, the number of videos is not limited.
Limit the file size of uploaded videos. This feature is currently only working in combination with some core changes. See issue #20 .
Setup the unique shortname of the workflow that should be started after successfully uploading a video file to opencast.
Select whether the videos should be published to engage player (if the setup workflow supports this).
Select if multiple videos with the same content hash are uploaded to opencast only once.
Settings for overview page
In this section you can define how many videos should be displayed in the block. Additionally, you can define if the publication channels of each video are displayed to the user.