Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

tenzin's avatar
tenzin
Explorer | Level 4
4 years ago
Solved

how to allow listening access of Dropbox audio files within my apps interface

I want to allow users of my app to them be able to connect their dropbox account and select the folder they want to allow access to. 

 

Their folder names and their file names will be displayed in their profile on my app. 

 

Then I want them to be able to play the audio file within my app's interface.

 

I also want the process of them connecting dropbox to be s seamless as possible. Ideally only 4 steps.

  • Click upload from within my app (opens dropbox login)
  • Login to dropbox 
  • Select the folders
  • Click done (close dropbox, navigates back to my app)

 

Without them having to create an account on a third-party integrations tool.

 

Is there a way I achieve this?

  • Hi tenzin,

    Embeder cannot handle all data types. Currently audio and video files are not supported as noted in the link you refer to. You should organize audio playing in your site by yourself. Selecting particular file or folder can be achieved using Chooser too.

    Good luck.

17 Replies

Replies have been turned off for this discussion
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    Hi again tenzin,

    As far as I can see you have seen already the answers of question you set. (sorry - I didn't saw your post earlier)

    Anyway... For someone interested in, more info can be seen here. There are links to the test page (posted earlier) and editor (where the example setup could be seen). 😉

    Good luck.

  • tenzin's avatar
    tenzin
    Explorer | Level 4
    2 years ago

    Yes, I purchased the plugin and had an authentication issue in Test-flights OS. I emailed the creator of the plugin. Did you get my email?

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    Hm.. Are you able to use the same browser to select something while using the official documentation page? 🧐 (select the same button there) I don't have access to such browser right now. Also, did you check the support state (including on the test page)?

     

    Add: Another reason could be if you use browser different than the default one on mobile device! I don't know why but as seems mobile devices do open Dropbox Chooser using the default one (or letting choose - depending on your settings). If the base page and the chooser are on different browsers they cannot communicate between! It's likely that to be the issue. Can you check?

  • tenzin's avatar
    tenzin
    Explorer | Level 4
    2 years ago
    How do I check that? I could give you access to my app if that helps.
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    No, you don't need to give me access. It's not matter of the Bubble part of the application, but how you browser (or rather embedded web engine) handle it. That's something you have to know in advance or be able to see at least on your own. The basic question is: When you push the Chooser button, does the Chooser window opens in the same or different environment (same or different browser; stays in the embedded engine or opens in external for the application web engine - web browser for instance)?

    The Chooser is guaranteed to work only when the engine stays the same! When you use browser, the popping up window/tab should be handled by the same browser. When you use embedded code, again, the popping up frame should be handled by the same code (not another application' code, including some installed web browser). If this is not true, it's likely to communication break comes up (almost sure).

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    Hi Greg-DB,

    I want to ask for one Dropbox Chooser improvement in context of the current thread (and not only - the same is valid for entire content of dropins). I think would be useful instead of relying on 'postMessage' (something that mandates popup window and button to work on same engine) communication to be realized trough the Dropbox server as a proxy (like already done for tracing state for Dropbox Saver - job_id). Would be no so hard, I think, in addition to 'job_id' to be added something like session token that identifies particular communication and using endpoints similar to /2/dropins/get_job_status, to be possible getting back the Dropbox Chooser result. The issue is that the Dropbox Chooser could be opened as inline frame only by... Dropbox, but no any other site or application, unfortunately. I understand the security concerns about this limitation. The mentioned proposal, by me, covers any cross script security concerns, including click-jacking attacks. What would you say? 🧐 Is there any chance something similar to be implemented on dropbox.com?

    Thanks.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    Здравко Thanks for writing this up! I can't make any promises myself, but I'll send this along to the team.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!