You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
jayharris
2 years agoNew member | Level 2
New version of Dropbox embed dropins.js breaks other libraries, including Mux.
If you're a Dropbox employee reading this right now, you should go find whatever team at Dropbox pushed a new version of dropins.js today and tell them to roll back their changes, because it's breaking other libraries.
Our app that uses the standard dropins.js embed began crashing this afternoon with no changes pushed:
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="OUR_KEY" async=""></script>
An update to ^ that embed link was pushed earlier today that breaks some other Javascript libraries, like Mux, when they try to access properties on the window object.
Some steps to reproduce if you want to:
• Create a new Next.js app.
• Add dropins.js to the _document file.
• Install mux-player-react and try to use it as a React component.
Error: TypeError: Cannot read properties of undefined (reading 'performance'
This should be working properly again now. Please let us know if you're still seeing this issue. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,912 PostsLatest Activity: 20 days agoIf 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!