Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Post Of Undefined #5

Closed
Stacey940 opened this issue Oct 25, 2018 · 4 comments
Closed

Error Post Of Undefined #5

Stacey940 opened this issue Oct 25, 2018 · 4 comments

Comments

@Stacey940
Copy link

Hi,

I am getting error as :

Uncaught TypeError: Cannot read property 'post' of undefined

Below is the code:

<audio-recorder
                upload-url="/api/upload/audio"
                :attempts="1"
                :headers="headers"
                :time="1"
                :start-record="callback"
                :stop-record="callback"
                :start-upload="mystartfunction"
                :successful-upload="mysuccessfunction"
                :failed-upload="myfailfunction"/>

Please suggest

@grishkovelli
Copy link
Owner

I guess the problem in http client. Look at https://github.com/grishkovelli/vue-audio-recorder/blob/master/demo/index.js#L7

@Stacey940
Copy link
Author

@grishkovelli , yes thanks.

@Stacey940
Copy link
Author

@grishkovelli How can I bind the name of the recording in post request user want to save with name?

@grishkovelli
Copy link
Owner

@stacybot123 currently it's impossible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants