I need to write a repository plugin which can embed a java applet (an audio recording tool, which allows users to “record” and “play back” their recorded audio) so that users can record their voices and save it as a new file or alternatively upload an existing audio file. As I understand it, it is going to be very similar to repository/upload plugin. However, I was wondering whether it is feasible to write this plugin without any modification in repository/filepicker.php and repository/filepicker.js.
Reading the docs ( http://docs.moodle.org/dev/Repository_API, http://docs.moodle.org/dev/Repository_plugins ), I could not see a way that I can pack all the necessary data for embedding an applet in the pligin’s methods without modifying repository/filepicker.php and repository/filepicker.js.
Reading the docs ( http://docs.moodle.org/dev/Repository_API, http://docs.moodle.org/dev/Repository_plugins ), I could not see a way that I can pack all the necessary data for embedding an applet in the pligin’s methods without modifying repository/filepicker.php and repository/filepicker.js.