Assignment submissions : Online audio recording

assignsubmission_onlineaudio
Maintained by Picture of Paul NichollsPaul Nicholls
Audio recorder (Flash 10.1+) submission method. Records locally and uploads via HTTP POST, so there's no need for a streaming server!
1059 sites
129 downloads
30 fans
Current versions available: 3

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


Related plugins:
Online Audio Recording (assignment type for old mod_assignment)
Record Audio (repository plugin - record audio anywhere you can upload a file!)

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Paul Nicholls
Paul Nicholls (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Picture of Bob Cole
    Wed, Sep 11, 2013, 4:19 AM
    I've had success with the plugin on Moodle 2.4.1 but so far only in Safari 6.0.5, and Mozilla Firefox 22.0. Is the plug-in compatible with Google Chrome? I'm not able to activate the microphone or to save a file when in the Chrome environment.
  • Picture of Paul Nicholls
    Wed, Sep 11, 2013, 11:37 AM
    Hi Bob,
    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
  • Picture of Blair F.
    Wed, Oct 9, 2013, 1:45 AM
    We are experiencing the same problem identified by techexplorer, here in the bugtracker: https://github.com/pauln/moodle-assignsubmission_onlineaudio/issues/5, resulting in a white screen after uploading a file.

    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.
  • Picture of eda karacelebi
    Thu, Jan 23, 2014, 5:56 PM
    hello everone, I installed but it is not working. I am using Moodle 2.5. When I click record it iseems recording but it never save.. could you please help?
  • Picture of Gorn ---
    Fri, Jan 31, 2014, 8:46 PM
    Hi paul,

    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.
  • Picture of María José Blanes
    Thu, May 8, 2014, 7:08 PM
    Hi,
    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
  • Picture of Harlow Pinson
    Tue, May 13, 2014, 11:34 PM
    Problem with Moodle 2.7. White screen upon upload, and upon and subsequent views. This is in Chrome Version 34.0.1847.131 m and in Firefox 29.0.1.
  • Picture of Jason Barr
    Wed, May 21, 2014, 4:23 AM
    I am having a problem with this block in Moodle 2.6.2. It will record the audio but when we click the upload button I get this error:

    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.
  • Picture of Paul Nicholls
    Tue, May 27, 2014, 7:32 AM
    Hi Jason,
    I've just released version 1.1.2, which should fix this issue.
  • Picture of Boris Puhanic
    Thu, Jun 19, 2014, 4:05 PM
    There seems to be an error in locallib.php which causes an error when trying to grade submissions. Line 180 refers to : require_once ... mod/assignment/locallib.php

    I think it should be ...mod/assign/locallib.php.
  • Picture of Toni Soto
    Tue, Jul 1, 2014, 7:09 AM
    Yes the error is fixed as soon as you change in /mod/assign/submission/onlineaudio/locallib.php (line 180):
    from...
    require_once($CFG->dirroot . '/mod/assignment/locallib.php');
    .. to ..
    require_once($CFG->dirroot . '/mod/assign/locallib.php');

    ... as Boris said.

  • me
    Tue, Jul 15, 2014, 3:40 AM
    Hello! We have just moved to 2.7, and installed this plugin for that version. We see the "microphone permission" request, we see the "recording buttons", but when we SAVE and then UPLOAD, we see a "Uploading, please wait....." message that never goes away. So we can complete the entire process, but not get the recorded file to upload. I am using Firefox 26.....is there something obvious that needs to be adjusted to eliminate this final stoppage to the assignment process?
  • Picture of Paul Nicholls
    Wed, Jul 16, 2014, 12:28 PM
    Thanks, Boris/Toni - I've just released v1.1.3 which fixes that reference (and two others) to the "old" mod/assignment plugin. Jim, this should fix your issue with it on 2.7 - please grab a copy from here or Github and you should be all sorted!
  • Picture of Joost Elshoff
    Sun, Aug 17, 2014, 2:48 PM
    Hi!
    I don't know whether this is a general problem with the Assignment activity or with the audio, but everytime I try submitting a recording or a written assignment , it returns a blank page.

    I use Moodle 2.6.2... how do I solve this?
  • George
    Sat, Oct 11, 2014, 1:47 AM
    Hello! I have moved to 2.7.2, and installed this plugin for that version. I did not see the "microphone permission" request, I did not see the "recording buttons" in assingments description page. I did not see anything from this plugin in the assignment's page. I am using Firefox 32.0.3. The I unistaled the plugin and now I have database problem. I can't backup the course I get ERROR message about 'error reading database'. The only way to have backup success is when in backup settings uncheck 'include activities' and 'include question bank' boxes.
Please login to post comments