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

Chrome asking to record audio on mobile devices #40

Closed
luiztsmelo opened this issue Oct 25, 2017 · 7 comments
Closed

Chrome asking to record audio on mobile devices #40

luiztsmelo opened this issue Oct 25, 2017 · 7 comments

Comments

@luiztsmelo
Copy link

Why is chrome asking to record audio? Is there any way to stop it?

@zhanziyang
Copy link
Owner

zhanziyang commented Oct 25, 2017

Weird... Are you sure it is caused by vue-croppa? Let me have a look.

@luiztsmelo
Copy link
Author

Yeah, I'm sure. I just added in my nuxt project and there is nothing related to audio.

@zhanziyang
Copy link
Owner

@luiztsmelo What version are you using and what is value of the accept prop?

@luiztsmelo
Copy link
Author

Oh, I thought the default value of accept prop was 'image/*'. It's fine now. Thanks

@zhanziyang
Copy link
Owner

Oh yeah, the default value of accept has been removed since v1.0.0 because 'image/*' makes file-chooser window pops up after a small delay (on webkit browsers on PC). So I don't know what is the best default value for this attribute [shrugged].

@luiztsmelo
Copy link
Author

Got it. Well, it's a difficult decision. One more question @zhanziyang: There is a way to put a loading feedback on croppa canvas?

@zhanziyang
Copy link
Owner

zhanziyang commented Oct 26, 2017

There is no built-in loading feature. But you can make your own by putting <croppa> and <loading> in the same wrapper element. And dynamically show/hide the loading with the help of some provided events (file-choose, draw).

demo: https://codepen.io/zhanziyang/pen/rGXJRy

Built-in loading will be added in the next release : )

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