Moodle plugins directory: Online audio recording | Moodle.org
Online audio recording
Finally putting an end to the need for a streaming server (or a Java applet) to allow students to record audio clips for Moodle assignments, the Online Audio Recording assignment uses Flash (10.1+) to record audio from a microphone, convert it to MP3 format and upload it to Moodle via HTTP POST.
INSTALLATION:
- Place the "onlineaudio" directory within your_moodle_install/mod/assign/submission/
- Visit the admin notifications page and complete the installation
- Done!
USAGE (teacher):
- As a teacher, create (or edit) an assignment
- Under "Submission settings", set "Online audio recording" to "Yes" and choose the maximum number of recordings
- Save the assignment
USAGE (student):
- In the assignment submission, find the "Online audio recording" section
- If you haven't used it before, you may need to allow access to your microphone
- Click the red circle button to begin recording
- Click the blue square button (or the red circle button again) to stop recording
- Enter a file name and click "Save"
- Wait for it to state that it's "Ready to upload" and click the "Upload" button
Online Audio Recording (assignment type for old mod_assignment)
Record Audio (repository plugin - record audio anywhere you can upload a file!)
One thing I note. On 2.3, the package goes into mod/assignment/type, but on 2.5.1 it goes into mod/assign/submission ???
I'm presuming that this isn't a typo or some such.
Now, following the instructions, I placed it in the correct directory. Enabled it and made it visible. However, although I can see it listed in File Picker, there is no way I can get it to display on the page so a student can use it. It displays in the File Picker window, where you can use it, but not embed it into a page as a piece of Moodle Media.
I'm sure 2.5.1 (20131207) has changes that are affecting these things, because it all worked fine until I did that last upgrade to (20131207)
Thanks. Robert
The instructions for this are actually clear.
USAGE (teacher):
- As a teacher, create (or edit) an assignment
- Under "Submission settings", set "Online audio recording" to "Yes" and choose the maximum number of recordings
- Save the assignment
and as such, it does it. Creates the widget on the page. and appears to work. Dam. It does work. Uploads and everything.
Maybe I"ve been at this too long.
I thought the original one sat on the page as a widget, that you could use to practice with. Recording and playing back until you were ready to upload. As a piece of Moodle Media. This one is actually an Assignment, as it says. hmmm
Sorry if I'm confusing you. - Robert
Yes, this works with Chrome - but you have to allow the microphone access twice. In addition to the Flash Player request (as per other browsers), Chrome will put a stealthy grey bar across the top of the page asking for access (or, if it has remembered a denial, a small icon at the right-hand side of the address bar, through which you can grant permission).
This is a reasonably recent change in Chrome to address a security issue. Unfortunately, its current implementation means that if you don't grant permission via the Chrome request, Flash Player thinks it has access but will not actually receive any audio.
-Paul
Call to undefined method assign_submission_onlineaudio::portfolio_exportable() in /moodle/mod/assign/submission/onlineaudio/locallib.php on line 205
We are using Moodle 2.5.2.
we're using Moodle 2.4.8, unfortunately the plugin doesn't seem to work. The error message is as follows:
Debug info:
Error code: unsupportedsubplugin
Stack trace:
line 34 of /mod/assignment/mod_form.php: moodle_exception thrown
line 191 of /lib/formslib.php: call to mod_assignment_mod_form->definition()
line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
line 268 of /course/modedit.php: call to moodleform_mod->moodleform_mod()
We also have problems with some strings, but that's just a minor concern.
nice plug-in!
I have Moodle 2.6 and I can use it without problems in Firefox or Chrome, but in debug mode, I get a warning message and I don't know how to fix it:
filter_text() is deprecated, use format_text(), format_string() etc instead.•line 474 of /lib/deprecatedlib.php: call to debugging()
•line 195 of /mod/assign/submission/onlineaudio/locallib.php: call to filter_text()
•line 284 of /mod/assign/submission/onlineaudio/locallib.php: call to assign_submission_onlineaudio->print_user_files()
•line 240 of /mod/assign/assignmentplugin.php: call to assign_submission_onlineaudio->get_form_elements()
•line 5752 of /mod/assign/locallib.php: call to assign_plugin->get_form_elements_for_user()
•line 5833 of /mod/assign/locallib.php: call to assign->add_plugin_submission_elements()
•line 48 of /mod/assign/submission_form.php: call to assign->add_submission_form_elements()
•line 191 of /lib/formslib.php: call to mod_assign_submission_form->definition()
•line 3188 of /mod/assign/locallib.php: call to moodleform->moodleform()
•line 503 of /mod/assign/locallib.php: call to assign->view_edit_submission_page()
•line 53 of /mod/assign/view.php: call to assign->view()
In IExplorer 10, the "Settings.." button of the player doesn't work... so it's possible students can't give the system permission to access the microphone.
Thanks for your work,
Maria
A required parameter (id) was missing
More information about this error
Debug info:
Error code: missingparam
Stack trace:
• line 463 of /lib/setuplib.php: moodle_exception thrown
• line 545 of /lib/moodlelib.php: call to print_error()
• line 7 of /mod/assign/submission/onlineaudio/upload.php: call to required_param()
I have tried explorer, chrome and firefox. I have tried an older version of flash and the latest version of flash too.
I've just released version 1.1.2, which should fix this issue.
I think it should be ...mod/assign/locallib.php.
from...
require_once($CFG->dirroot . '/mod/assignment/locallib.php');
.. to ..
require_once($CFG->dirroot . '/mod/assign/locallib.php');
... as Boris said.