{"id":19974614,"url":"https://github.com/opencast-moodle/moodle-local_och5pcore","last_synced_at":"2025-05-04T02:32:58.510Z","repository":{"id":138629536,"uuid":"341516128","full_name":"Opencast-Moodle/moodle-local_och5pcore","owner":"Opencast-Moodle","description":"Moodle plugin which helps to integrate Opencast videos into the Moodle H5P core.","archived":false,"fork":false,"pushed_at":"2025-02-07T08:38:03.000Z","size":99,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-08T02:01:49.741Z","etag":null,"topics":["moodle","moodle-local","moodle-plugin","opencast"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Opencast-Moodle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-23T10:30:00.000Z","updated_at":"2025-02-25T13:24:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"501e14b4-dca0-42eb-8ba6-8633dc4402e6","html_url":"https://github.com/Opencast-Moodle/moodle-local_och5pcore","commit_stats":null,"previous_names":["opencast-moodle/moodle-local_och5pcore"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Opencast-Moodle%2Fmoodle-local_och5pcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Opencast-Moodle%2Fmoodle-local_och5pcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Opencast-Moodle%2Fmoodle-local_och5pcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Opencast-Moodle%2Fmoodle-local_och5pcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Opencast-Moodle","download_url":"https://codeload.github.com/Opencast-Moodle/moodle-local_och5pcore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252279085,"owners_count":21722836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["moodle","moodle-local","moodle-plugin","opencast"],"created_at":"2024-11-13T03:15:34.486Z","updated_at":"2025-05-04T02:32:58.498Z","avatar_url":"https://github.com/Opencast-Moodle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"moodle-local_och5pcore\n=====================\nThe main purpose of this plugin is to make it possible for the teachers to select Opencast Video from within the H5P Editor when using H5P Interactive Videos feature.\u003cbr /\u003e\nIt provides an easy way to add support for H5P opencast to your site themes. It does this by writing new code into your theme renderer.php and config.php files, adding the code required to allow your theme to render H5P opencast content (as suggested by H5P.org in \u003ca href=\"https://h5p.org/moodle-customization\"\u003eMoodle Customization\u003c/a\u003e). Your web server process must also have write access to the Moodle installation tree for this plugin to function.\u003cbr /\u003e\nThis design helps to apply the required extension to every installed theme dynamically, instead of creating an extended theme!\nUsing this integration now enables teachers to select opencast videos in a course, using a dropdown inside the H5P Interactive Videos' editor in course content bank. After selecting the opencast video, another dropdown will be shown to select different types of video flavor (Presenter/Presentation). By selecting the video flavor, all available qualities of the video then will be inserted into H5P Editor videos list and the rest will be processed by H5P.\n\n\nSystem requirements\n------------------\n1. Min. Moodle Version: 3.10: \u003cbr /\u003eFrom Moodle 3.10 onwards, the H5P Core has the ability to alter H5P via overriding the renderers and hooks \u003ca href=\"https://tracker.moodle.org/browse/MDL-69087\"\u003eMDL-69087\u003c/a\u003e to add customized scripts and styles into H5P.\n2. Installed plugin:\n   - versions (\u003c v3.0-r1):\n      - \u003ca href=\"https://github.com/Opencast-Moodle/moodle-tool_opencast\"\u003etool_opencast\u003c/a\u003e (Min. version: \u003ca href=\"https://github.com/Opencast-Moodle/moodle-tool_opencast/releases/tag/v3.11-r3\"\u003ev3.11-r3\u003c/a\u003e \u0026 Max. version (v3.11-r8))\n      - \u003ca href=\"https://github.com/Opencast-Moodle/moodle-block_opencast\"\u003eblock_opencast\u003c/a\u003e (Min. version: \u003ca href=\"https://github.com/Opencast-Moodle/moodle-block_opencast/releases/tag/v3.11-r3\"\u003ev3.11-r3\u003c/a\u003e \u0026 Max. version (v3.11-r8))\n      - IMPORTANT: You should update the tool_opencast first because otherwise the block_opencast installation will fail.\n   - versions (\u003e v3.0-r1):\n      - \u003ca href=\"https://github.com/Opencast-Moodle/moodle-tool_opencast\"\u003etool_opencast\u003c/a\u003e (Min. version: \u003ca href=\"https://github.com/Opencast-Moodle/moodle-tool_opencast/releases/tag/v4.0-r1\"\u003ev4.0-r1\u003c/a\u003e)\n      - \u003ca href=\"https://github.com/Opencast-Moodle/moodle-block_opencast\"\u003eblock_opencast\u003c/a\u003e (Min. version: \u003ca href=\"https://github.com/Opencast-Moodle/moodle-block_opencast/releases/tag/v4.0-r1\"\u003ev4.0-r1\u003c/a\u003e)\n\nOpencast configuration for multiple nodes setups:\n------------------\nIf you use a constellation of opencast nodes, one for admin and another for presentation (i.e. engage node) it is \u003cb\u003eimportant\u003c/b\u003e that your moodle user account in opentcast has the role that makes the services endpoint available. It is by default (and based on experience) included in the \"ROLE_GROUP_MH_DEFAULT_ORG_SYSTEM_ADMINS\" role.\n\n**NOTE**: In version **v4.5-r1**, we switched from using the Opencast services endpoint to the API base endpoint to retrieve the Engage node URL. As a result, the role `ROLE_GROUP_MH_DEFAULT_ORG_SYSTEM_ADMINS` **no longer has any effect** for this plugin. Instead, you need to **assign** the role `ROLE_UI_EVENTS_EMBEDDING_CODE_VIEW` to the Opencast API User.\n\nPrerequisites\n------------------\n* Proper write permission on themes directories for the server user (e.g. \"www-data\" Apache User)\n* In case you are using the unofficial version (tool_och5p_core) v1.0.0, it is recommended to uninstall it.\n\nFeatures\n------------------\n* Extend several themes at once via Moodle's multiselect feature by holding the Ctrl key.\n* Remove extensions applied to several themes at once via Moodle's multiselect feature by holding the Ctrl key.\n* Display Opencast videos of the course inside H5P Interactive Videos Editor.\n* Extract and display Opencast video flavors inside H5P Interactive Videos Editor.\n* Extract and use different quality of the Opencast video inside H5P Interactive Videos.\n* Opencast LTI authentication\n* Getting search endpoint (Engage/Presentation node) from Opencast services\n\nHow it works\n------------------\n* In the admin setting page, there is the possibility to select multiple available themes to extend.\n* Deselecting a theme will remove the extension changes.\n* Only videos which are published to opencast engage player, can be displayed and process, because media index of the event must be available.\n* LTI credential can be configured if the \"Secure Static Files\" in opencast setting is enabled.\n\nImportant for admins to know:\n------------------\n* This plugin creates new files within the Moodle core installation.\n* By extending a theme, the plugin attempts to add own code into the files of selected themes.\n\nHow to revert the changes:\n------------------\n* Through the admin setting page, deselecting a theme will revert the changes.\n* Uninstalling the plugin will also trigger the uninstallation event, by which all changes to the extended themes will be removed!\n\nRevert changes manually:\n------------------\nIt is possible to revert the changes manually, but it is not recommended doing so. However, the plugin only changes the files as follows:\n* (rootdir) \u003e themes \u003e {your installed theme dir} \u003e renderers.php\n* (rootdir) \u003e themes \u003e {your installed theme dir} \u003e config.php\nChanges made by this plugin can be identified as a code block started with a comment containing \"// Added by local_och5pcore plugin\" and ends with a comment containing \"// End of local_och5pcore code block.\"\n\nRepair the loss of changes on renderers.php:\n----------------\nIn case the changes on renderers.php or even the file itself is gone, the plugin will repeat the changes by itself which can be done simply via admin setting page:\n\n1. Deselect the defected theme, to let the plugin know that the changes should not be there anymore!\n2. Save changes.\n3. Select the defected theme again, to repeat the changes.\n4. Save changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencast-moodle%2Fmoodle-local_och5pcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencast-moodle%2Fmoodle-local_och5pcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencast-moodle%2Fmoodle-local_och5pcore/lists"}