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
I'm using NextJS v13.5.6, maybe that's the issue. When using a .mp3 file, it all works fine, but when I use a .m4a file it stops working. Specifically, the problem I'm getting is Uncaught (in promise) DOMException: The element has no supported sources. Is this supposed to be the case? If so, is there a workaround for supporting .m4a files?
The specific file I'm testing it with is https://deepscribes.s3.eu-central-1.amazonaws.com/uploads/1701605406836Transcription-test+ENG.m4a.
I have used two .mp3 files to test it and they both work:
Edit: I have checked that url is correctly being passed
Second edit: For some reason, even the browser's default <audio> component will not work, hence this is not a problem with amplitude rather my audio. Oddly enough, I can get it from AWS, but it automatically starts downloading. When I get another .m4a audio from AWS, it instead shows me a blank page with just the <audio/> element and it works.
I also tested it with two other .m4a files, one from a random website, and the other one from the same bucket; they both worked.
In case it turns out to be useful, here's my code:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using NextJS v13.5.6, maybe that's the issue. When using a .mp3 file, it all works fine, but when I use a .m4a file it stops working. Specifically, the problem I'm getting is
Uncaught (in promise) DOMException: The element has no supported sources
. Is this supposed to be the case? If so, is there a workaround for supporting .m4a files?The specific file I'm testing it with is https://deepscribes.s3.eu-central-1.amazonaws.com/uploads/1701605406836Transcription-test+ENG.m4a.
I have used two .mp3 files to test it and they both work:
Edit: I have checked that
url
is correctly being passedSecond edit: For some reason, even the browser's default
<audio>
component will not work, hence this is not a problem with amplitude rather my audio. Oddly enough, I can get it from AWS, but it automatically starts downloading. When I get another .m4a audio from AWS, it instead shows me a blank page with just the<audio/>
element and it works.I also tested it with two other .m4a files, one from a random website, and the other one from the same bucket; they both worked.
In case it turns out to be useful, here's my code:
Beta Was this translation helpful? Give feedback.
All reactions