You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for this awesome plugin.
in my case after recording, i try to save audio on my server-side (laravel), <audio-recorder upload-url="/api/upload" :attempts="3" :time="2" :before-recording="callback" :after-recording="callback" :before-upload="callback" :successful-upload="callback" :failed-upload="callback" :select-record= "selectRecord" />
But i just get an error on the console
Error in v-on handler: "TypeError: Cannot read properties of undefined (reading 'post')"
found in
---> at src/components/uploader.vue
at src/components/recorder.vue
at resources/js/components/SingleEquibmentComponent.vue
at resources/js/Index.vue
please can someone help
Thank you.
The text was updated successfully, but these errors were encountered:
It use this.$axios.post(this.uploadUrl, data, { headers: headers }) to upload audio.
You need to extend vue with axios or map global properties and define post method
Hello, thank you for this awesome plugin.
in my case after recording, i try to save audio on my server-side (laravel),
<audio-recorder upload-url="/api/upload" :attempts="3" :time="2" :before-recording="callback" :after-recording="callback" :before-upload="callback" :successful-upload="callback" :failed-upload="callback" :select-record= "selectRecord" />
But i just get an error on the console
Error in v-on handler: "TypeError: Cannot read properties of undefined (reading 'post')"
found in
---> at src/components/uploader.vue
at src/components/recorder.vue
at resources/js/components/SingleEquibmentComponent.vue
at resources/js/Index.vue
please can someone help
Thank you.
The text was updated successfully, but these errors were encountered: