moodle-mod_hvp
moodle-mod_hvp copied to clipboard
Setting to disable file upload and only allow link for interative video
We try to encourage our faculty to host video content on YouTube and other service providers to maximize storage on our Moodle installation. It would be amazing if the H5P plugin could provide a setting that would allow us to disable the upload a file functionality within the interactive video content type site wide so users only had the option to use an external link.
@haietza You could easily achieve that right now yourself by customizing the CSS.
That sounds like a good workaround. Thanks for the quick response!
@haietza You're welcome. And yes, it's merely a workaround. People can, of course, remove your override and then upload files if they know about that option. If you want to prevent that without modifying the core code, you could also use the alter_scripts hook to add a script that removes the corresponding DOM element when it's set.
There may even be a more elegant way of achieving this, but I'd have to look into the code to check.