mdn / dom-examples

Code examples that accompany various MDN DOM and Web API documentation pages

Home Page:https://developer.mozilla.org/en-US/docs/Web/API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio MIME type is not accurate in safari for web Dictaphone

dhruvin-rv opened this issue · comments

I have used this code in Chrome and printed the mime type of base64 it's giving me the accurate mime type like audio/mp3 (i have updated in code).

But when i do the same in Safari and given type:'audio/mp3 || audio/mp4' and printed the base 64 it is showing the mime type as given but when i save the file with an extension of .mp3 and play it in the media player it is not showing the length of the audio as it shows in chrome.

also original mime type is application/octet-stream