Is it possible to change the audio-recorder algorithm?
Submitted by mirgcire on Tue, 04/23/2019 - 21:55
Forums:
When I click "retry" on the audio-recorder, it opens a new view, and asks if I want to save the current recording.
I am hoping to find a way to disable that step.
In the application I am using it for, there is no need to save recordings.
Thanks, -Eric
BV52
Wed, 04/24/2019 - 05:24
Permalink
Hi Eric,It should be possible
Hi Eric,
It should be possible with some changes to the code. Thank you for contributing your ideas on how to make H5P better! We’re now working on something called the H5P supporter program allowing the H5P community to vote for and fund the top voted H5P features. Also there are developers in the community who every now and then works on a feature they find interesting or useful.
-BV52
otacke
Wed, 04/24/2019 - 08:16
Permalink
Hi Eric!I have not looked at
Hi Eric!
I have not looked at the code, but it should be as simple as adding an option to switch off the dialog to the editor and to skip the dialog when the retry button is hit.
Best,
Oliver
mirgcire
Mon, 11/30/2020 - 00:07
Permalink
Where is the code? How to modify and integrate?
Thanks for the suggestion, but I have no idea where the code lives in the wordpress plugin. I was able to find some code here on github, but I was unable to find the VUE file. Seems like an easy fix if I had any idea how or where to make the modification. *Thanks in advance*
otacke
Mon, 11/30/2020 - 17:53
Permalink
Hi mirgcire!Please don't
Hi mirgcire!
Please don't thank me in advance: I don't have the time to guide you through the code. Maybe someone else has.
Best,
Oliver
mirgcire
Mon, 11/30/2020 - 20:43
Permalink
Can you point me to any relevant documentation?
Sorry to bother you again, but, could you point me to any relevant documentation?
otacke
Tue, 12/01/2020 - 13:44
Permalink
Hi mirgcire!Not sure what
Hi mirgcire!
Not sure what kind of documentation you're looking for that you shouldn't have found already:
Best,
Oliver
mirgcire
Wed, 12/02/2020 - 21:54
Permalink
To be specific: I need documentation on .VUE files
Hi Otacke,
I searched all the files in the documents you referenced and did not find any expanation of a VUE file. It appears to me that that the VUE file contains the algorythms of the audio recorder. Please help me find the documentation for ".vue" files.
Thanks, Eric
otacke
Wed, 12/02/2020 - 23:12
Permalink
Hi Eric!I am really sorry. I
Hi Eric!
I am really sorry. I really don't understand what you're expecting me to do. The templates for the view that utilize Vue are in https://github.com/h5p/h5p-audio-recorder/tree/master/src/views - you are not expecting me to find you some tutorials on Vue, are you?
Best,
Oliver
mirgcire
Thu, 12/03/2020 - 18:25
Permalink
Sorry for not clarifying this sooner ...
I am having problem locating the file which contains the state-machine for the code that drives the user interace. I found the code on github (https://github.com/h5p/h5p-audio-recorder/blob/master/src/views/AudioRec...) but I can not find it on my website. In fact, I am not able to find any VUE file on my site. The code is working just fine, but I can't find the *.vue file.
papi Jo
Thu, 12/03/2020 - 11:03
Permalink
Hi Eric!
Hi Eric!
The answer is very simple... for developers who understand how h5p contents are developed. But it's not at all obvious for end-users.
Like some (but not all) other h5p contents, the complete files for h5p-audio-recorder reside here: https://github.com/h5p/h5p-audio-recorder. But when that content is compiled and made available to h5p users, most of the files are compiled into a unique file here: yourwebsite\...\h5p\libraries\H5P.AudioRecorder-1.0\dist\h5p-audio-recorder.js file. Which explains that you will not find any *.vue file on your wordpress server!
mirgcire
Thu, 12/03/2020 - 19:22
Permalink
Is this process documented?
Hi Papi Jo, thank you for explaining this conundrum. I am a software developer with 30 years of experience in a variety of languages. Admittedly, I have not done much js coding, but I don't suck at it. Is there any documentation for this procedure? I would like to make a slight change to the algorithm that will make it easier for my students to learn Mandarin Chinese. The change would allow the student to alternate between recording and listening. Thanks