I have integrate Dropbox API (Dropbox API) in my project and want to access only audio files.
Create share links using Dropbox API.
Now, I want to play that song using Jukebox or any audio player from shareable URL.
I have tried multiple links to play using Jukebox, it running fine.
I am facing in only Dropbox shareable link.
The shared links, e.g., from createSharedLinkWithSettings
, point to an HTML preview page, and not the file content itself.
If you need the actual file content, e.g., to use it in a media player, you have a few options:
1) Use download(path:rev:overwrite:destination:)
to download the file to disk.
2) Use download(path:rev:)
to download the file to memory. (Not recommended for large files.)
3) Use getTemporaryLink(path:)
to get a temporary link to the file. This may be the best option if you need a URL to give to a media player.