[Solved] How to play audio files that are shared in Google Drive

Hello, Thunkers

I am trying to create an app that can play audio files that are stored in Google Drive. I am able to get the share link of those files. But my app still cannot play those files. I tested those files by double click on the file on Google Drive and it played jus fine. I don’t know whether I have to modify the shared link of those files before I use them in my app. Please advice.

Thank you.

Ok now I can solve it. I modified the link a bit by replacing “adding uc?id=” and delete some parts.

Thank you.


can you explain more others who have same question may get solution from here

1 Like

Suppose you have a shred file which would look like this:


Use the same link but change the /view or /open to /uc like this: