Record audio/video question type
Maintained by
Tim Hunt, Chris Nelson, Mahmoud Kassaei, Hieu Vu Van
A free manually graded Moodle question type, where the student records a short audio (or webcam, or screen) response to answer the question asked.
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
Regarding grader information, like Essay. Yes, adding that would be very possible. It just needs someone with time to do the work.
Thanks a lot for your help!
On my production site, routine installation from the /admin/notifications page worked without problems.
In this chunk of upgrade code, the 'LEFT JOIN' appears twice on lines 229 and 235. If you changed that to JOIN, then the upgrade would run without the missing data causing issues. Then you cound investigate the broken questions later.
The problem can only happen if you have recordrtc questions in your database which missing the corresponding row in qtype_recordrtc_options - which should be impossible.
If you can directly access your database, a query like
SELECT * FROM mdl_question q
WHERE qtype='recordrtc'
AND NOT EXISTS (SELECT 1 FROM mdl_qtype_recordrtc_options o WHERE o.questionid = q.id)
will find which questions are affected.
Then there is the issue of what do do about it. If the rows in mdl_question look like junk, you could consider deleting them. If you can get to the edit form for these particular questions, you might be able to save the question again, which might fix things, or you could manually try to insert the missing data in mdl_qtype_recordrtc_options .
Sorry for the hassle.
The new version of qbehaviour_selfassess now installs OK, but now I get:
Upgrading to new version
qtype_recordrtc
Setting default values of 'canselfrate' and 'canselfcomment' - 0/29 (id = ).
Coding error detected, it must be fixed by a programmer: moodle_database::update_record_raw() id field must be specified.
More information about this error
Debug info:
Error code: codingerror×Dismiss this notification
Stack trace:
line 1575 of /lib/dml/mysqli_native_moodle_database.php: coding_exception thrown
line 1632 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
line 251 of /question/type/recordrtc/db/upgrade.php: call to mysqli_native_moodle_database->update_record()
line 784 of /lib/upgradelib.php: call to xmldb_qtype_recordrtc_upgrade()
line 1953 of /lib/upgradelib.php: call to upgrade_plugins()
line 721 of /admin/index.php: call to upgrade_noncore()