Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
StanR
3 years agoExplorer | Level 3
Re: Feedback: The Embedder Launched in Preview
I'm hoping you can help me. I've been trying to reproduce your result in my own HTML without success. I just get a blank screen. If I look at the Source for each of your examples, it seems like a massive amount of code.
Is it possible to show (or point to a zip file) a standalone example? So for http:// (some url), we receive an example pdf or gif. Then we can inspect the source to see how this all fits together.
My application is to use embed to offer a series of Dropbox folders that can be opened, read and/or downloaded. Pretty simple, but no luck so far.
Stan Ralph
7 Replies
- Greg-DB3 years ago
Dropbox Community Moderator
You can find the instructions for using the Embedder here. There are working examples on that page, but as that is a page on the actual Dropbox web site, there is other code in the source, unrelated to the Embedder itself.
To use the Embedder, you would need to:
- Load the script as instructed under "Setting up the Embedder".
- Configure the Embedder as shown under either "Embedding Files or Folders using anchor tags" or "Triggering the Embedder using JavaScript".
Here's a very basic/minimal example I put together showing how to set up the Embedder with an anchor tag to show a PDF file.
- StanR3 years agoExplorer | Level 3
- Greg-DB3 years ago
Dropbox Community Moderator
StanR What browser/version are you using? That page is working for me, showing the Embedder displaying a PDF file. Here's a screenshot of what it looks like in Chrome, for example:
- StanR3 years agoExplorer | Level 3
worked on chrome. not on Firefox.
- Здравко3 years agoLegendary | Level 20
The above is Firefox.
- Greg-DB3 years ago
Dropbox Community Moderator
StanR Like Здравко found, it is also working for me in Firefox. What version of Firefox are you using, and are there any errors in the browser console on that page in Firefox for you when the Embedder doesn't appear?
- m8pa9khyn3 years agoNew member | Level 2
(FYI: My Firefox wasn't showing either...but it turned out to be blocked by Privacy Badger extension.)
About 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!