Can not upload mp3 file from Android SDK.
Hi,
I am trying to upload an mp3 file as resource type "video" as per the document, but its being uploaded as "mp4" format and also cloudinary is not able to load the media from the url.
This is the path of the media that is uploaded as "mp4" file
v1649076947/VIVA/Content/gfkhj8ot2snicfutv4nw.mp4
0
-
Hi Viral,
Thanks for contacting us.
Looking at the logs on our end for this upload, It seems that the `resource_type` was set to `auto`.
When uploading an mp3 file the 'resource_type' needs to be set to 'video'.For example in Android:
MediaManager.get().upload("file.mp3")
.unsigned("preset")
.option("resource_type", "video")
.dispatch();Can you please double-check this setting on your end and let us know if you were able to resolve the issue?
Thanks,
Michal0
Post is closed for comments.
Comments
1 comment