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

compatibility with upload of voice memo audio from ios app #49

Closed
pietrop opened this issue Oct 23, 2020 · 0 comments
Closed

compatibility with upload of voice memo audio from ios app #49

pietrop opened this issue Oct 23, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pietrop
Copy link
Owner

pietrop commented Oct 23, 2020

Describe the bug

When using this client as part of firebase web app github.com/pietrop/digital-paper-edit-firebase I noticed that you are not able to select voice memo audios MIME Type audio/x-m4a . (following these instructions) It appears grayed out in the list and unable to be selected.

To Reproduce
To reproduce you'd need to

  1. deploy github.com/pietrop/digital-paper-edit-firebase
  2. get the url of the live app
  3. visit that on an iphone
  4. create a new project
  5. create a new transcript.
  6. in the form click select file, and then navigate to your iphone local folder, (see instructions above) and ideally you have already exported a recording locally from voice memos.
  7. see that you are unable to select the audio

Expected behavior
Expect to be able to select and upload voice memo files.
Screenshots
NA

Desktop (please complete the following information):
Tested in electron app, and doesn't seem to be a problem on desktop. eg you can upload/add audio voice memos files. 🤷‍♂️

Smartphone (please complete the following information):

  • Device: iPhone 11
  • OS: 14.0.1
  • Browser: Safari mobile, Brave mobile

Additional context
Add any other context about the problem here.

In the transcript form, by changing the accept attribute to include the audio/x-m4a MIME type explicitly seems to fix this. pietrop/digital-paper-edit-client/src/Components/Transcripts/TranscriptForm.js#L182

-<Form.Control required type="file" label="Upload" accept="audio/*,video/*,.mxf" onChange={this.handleFileUpload} />
+ <Form.Control required type="file" label="Upload"   accept="audio/*,video/*,.mxf, audio/x-m4a"  onChange={this.handleFileUpload} />
@pietrop pietrop added the bug Something isn't working label Oct 23, 2020
@pietrop pietrop self-assigned this Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant