Learn how to make the most out of the Dropbox Community here 💙!

Forum Discussion

rgat1988's avatar
rgat1988
New member | Level 1
2 months ago

Play Dropbox Video in my Unity Project

I am trying to access playing several Dropbox Videos from my folders in my Unity Project. But I need to play the videos using API in Dropbox. How can I do that? I am running into issues with the video playing even after getting permissions in the project. 

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

    Hi rgat1988

    It is not possible to play media directly from the API. However, you could create a shared link for the video via /sharing/create_shared_link_with_settings. You can then use the created link to render the media on a website or direct users to that link.

    If you are encountering errors specific to the Dropbox API, please reply with:

    • the name and version number of the platform and SDK/library you are using, if any
    • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
    • the full text of any error or unexpected output
    • rgat1988's avatar
      rgat1988
      New member | Level 1

      Is there any instructions on creating a shared link? Like example scripts 

      • DB-Des's avatar
        DB-Des
        Icon for Dropbox Engineer rankDropbox Engineer

        rgat1988, while we don't have specific code snippet examples to create shared links, we do have more detailed guide on how to create shared links using the Dropbox API here

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,972 PostsLatest Activity: 23 hours ago
366 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!