Forum Discussion

itservices-uno's avatar
itservices-uno
New member | Level 2
4 years ago

Embedder Not working

I am trying to integrate Dropbox Embedder into my WordPress website. I have carefully followed the instruction provided and registered my domain. Embedding Files or Folders using anchor tags is working fine. but when I try to embed using 

 

<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="My ID"></script>

 

it doesn't show at all. 

I am using Wordpress Elementor.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    When using the Dropbox Embedder, there are two ways to run it, as covered in that documentation under the two sections:

    1. "Embedding Files or Folders using anchor tags"
    2. "Triggering the Embedder using JavaScript"

    For both of those though, you need to load the "dropins.js" script, e.g., via the <script> tag that you showed.

     

    So, it sounds like method 1 is working for you, but method 2 isn't? Is that correct?

     

    In any case, we'll need some more information to help troubleshoot this. Can you share the rest of the relevant code you're using, as well as any error or output you're getting when this fails? E.g., check the JavaScript console.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 15 hours ago
217 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!