Unable to upload .amr files in Ubuntu?
up vote
1
down vote
favorite
I'm trying to upload media files to a website I'm maintaining. The latest one to be added is .amr (test file from here) and it's causing problems, but only with Ubuntu. It works fine on Mac OS (High Sierra) with Firefox and Chrome. Both browsers fail to upload the file in Chrome.
For reference the JavaScript code is checking for the file types:
|3gpp|3gpp2|webm|ogg|m4a|x-m4a|amr|
In the HTML input tag, the accept value includes:
audio/ogg, audio/m4a, audio/x-m4a, audio/amr
All the other types work fine in Ubuntu. and .amr works in other operating systems. What is special about Ubuntu?
Is it describing the .amr type in a different way? If so is there a way to find out what that is so I can adjust the code to support Ubuntu?
18.04 firefox chromium file-format javascript
add a comment |
up vote
1
down vote
favorite
I'm trying to upload media files to a website I'm maintaining. The latest one to be added is .amr (test file from here) and it's causing problems, but only with Ubuntu. It works fine on Mac OS (High Sierra) with Firefox and Chrome. Both browsers fail to upload the file in Chrome.
For reference the JavaScript code is checking for the file types:
|3gpp|3gpp2|webm|ogg|m4a|x-m4a|amr|
In the HTML input tag, the accept value includes:
audio/ogg, audio/m4a, audio/x-m4a, audio/amr
All the other types work fine in Ubuntu. and .amr works in other operating systems. What is special about Ubuntu?
Is it describing the .amr type in a different way? If so is there a way to find out what that is so I can adjust the code to support Ubuntu?
18.04 firefox chromium file-format javascript
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to upload media files to a website I'm maintaining. The latest one to be added is .amr (test file from here) and it's causing problems, but only with Ubuntu. It works fine on Mac OS (High Sierra) with Firefox and Chrome. Both browsers fail to upload the file in Chrome.
For reference the JavaScript code is checking for the file types:
|3gpp|3gpp2|webm|ogg|m4a|x-m4a|amr|
In the HTML input tag, the accept value includes:
audio/ogg, audio/m4a, audio/x-m4a, audio/amr
All the other types work fine in Ubuntu. and .amr works in other operating systems. What is special about Ubuntu?
Is it describing the .amr type in a different way? If so is there a way to find out what that is so I can adjust the code to support Ubuntu?
18.04 firefox chromium file-format javascript
I'm trying to upload media files to a website I'm maintaining. The latest one to be added is .amr (test file from here) and it's causing problems, but only with Ubuntu. It works fine on Mac OS (High Sierra) with Firefox and Chrome. Both browsers fail to upload the file in Chrome.
For reference the JavaScript code is checking for the file types:
|3gpp|3gpp2|webm|ogg|m4a|x-m4a|amr|
In the HTML input tag, the accept value includes:
audio/ogg, audio/m4a, audio/x-m4a, audio/amr
All the other types work fine in Ubuntu. and .amr works in other operating systems. What is special about Ubuntu?
Is it describing the .amr type in a different way? If so is there a way to find out what that is so I can adjust the code to support Ubuntu?
18.04 firefox chromium file-format javascript
18.04 firefox chromium file-format javascript
asked Nov 26 at 12:21
James Bradbury
1751317
1751317
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I don't know why, but Ubuntu seems to send these files to the web browser as "audio/AMR" instead of "audio/amr" unlike other OSs.
So it was simply a case of adding that capitalisation to the acceptable values.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I don't know why, but Ubuntu seems to send these files to the web browser as "audio/AMR" instead of "audio/amr" unlike other OSs.
So it was simply a case of adding that capitalisation to the acceptable values.
add a comment |
up vote
0
down vote
I don't know why, but Ubuntu seems to send these files to the web browser as "audio/AMR" instead of "audio/amr" unlike other OSs.
So it was simply a case of adding that capitalisation to the acceptable values.
add a comment |
up vote
0
down vote
up vote
0
down vote
I don't know why, but Ubuntu seems to send these files to the web browser as "audio/AMR" instead of "audio/amr" unlike other OSs.
So it was simply a case of adding that capitalisation to the acceptable values.
I don't know why, but Ubuntu seems to send these files to the web browser as "audio/AMR" instead of "audio/amr" unlike other OSs.
So it was simply a case of adding that capitalisation to the acceptable values.
answered Nov 26 at 15:28
James Bradbury
1751317
1751317
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096156%2funable-to-upload-amr-files-in-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown