In my project I would like to use m4a audio files when the game is running on safari browser.
Does cocos creator support m4a files?
In my project I would like to use m4a audio files when the game is running on safari browser.
Does cocos creator support m4a files?
Supported.
https://docs.cocos.com/creator/3.3/manual/en/asset/audio.html#supported-audio-asset-formats
When I add them to the project and try to play them from the Cocos editor does not seems to recognized them or allow to play them.
I tried with mp3, ogg, wav and they worked fine.
Please find a file I am using for your reference. Any idea why we cant play them in Cocos?
https://drive.google.com/file/d/1GIta2LB-cPyGLKYs_Pu9K7yjdrW-v6Cy/view?usp=sharing
Thanks, i’ll test it on 3.2.0.
Sorry, after confirming it, version 3.2.0 does not work with m4a audio, because of a bug in the editor that caused the m4a file not to be recognized correctly, making it an invalid file, so it doesn’t work. We fixed this problem in version 3.3.x. You can upgrade to version 3.3.2 (I tested version 3.2.0 and 3.3.2), thanks for your feedback.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.