We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5af76ab commit cc1ca25Copy full SHA for cc1ca25
packages/plugin-html-audio-response/src/index.ts
@@ -133,7 +133,7 @@ class HtmlAudioResponsePlugin implements JsPsychPlugin<Info> {
133
};
134
135
this.stop_event_handler = () => {
136
- const data = new Blob(this.recorded_data_chunks, { type: "audio/webm" });
+ const data = new Blob(this.recorded_data_chunks, { type: this.recorded_data_chunks[0].type });
137
this.audio_url = URL.createObjectURL(data);
138
const reader = new FileReader();
139
reader.addEventListener("load", () => {
0 commit comments