<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic New version of Dropbox embed dropins.js breaks other libraries, including Mux. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736672#M32530</link>
    <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our app that uses the standard dropins.js embed began crashing this afternoon with no changes pushed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;script type="text/javascript" src="&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js&lt;/A&gt;" id="dropboxjs" data-app-key="OUR_KEY" async=""&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some steps to reproduce if you want to:&lt;/P&gt;
&lt;P&gt;• Create a new Next.js app.&lt;/P&gt;
&lt;P&gt;• Add dropins.js to the _document file.&lt;/P&gt;
&lt;P&gt;• Install&amp;nbsp;&lt;SPAN&gt;mux-player-react and try to use it as a React component.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error:&amp;nbsp;TypeError: Cannot read properties of undefined (reading 'performance'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 03:54:56 GMT</pubDate>
    <dc:creator>jayharris</dc:creator>
    <dc:date>2023-12-13T03:54:56Z</dc:date>
    <item>
      <title>New version of Dropbox embed dropins.js breaks other libraries, including Mux.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736672#M32530</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our app that uses the standard dropins.js embed began crashing this afternoon with no changes pushed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;script type="text/javascript" src="&lt;A href="https://www.dropbox.com/static/api/2/dropins.js" target="_blank" rel="noopener"&gt;https://www.dropbox.com/static/api/2/dropins.js&lt;/A&gt;" id="dropboxjs" data-app-key="OUR_KEY" async=""&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some steps to reproduce if you want to:&lt;/P&gt;
&lt;P&gt;• Create a new Next.js app.&lt;/P&gt;
&lt;P&gt;• Add dropins.js to the _document file.&lt;/P&gt;
&lt;P&gt;• Install&amp;nbsp;&lt;SPAN&gt;mux-player-react and try to use it as a React component.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error:&amp;nbsp;TypeError: Cannot read properties of undefined (reading 'performance'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 03:54:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736672#M32530</guid>
      <dc:creator>jayharris</dc:creator>
      <dc:date>2023-12-13T03:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: 🚨 New version of Dropbox embed dropins.js breaks other libraries, including Mux.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736674#M32531</link>
      <description>&lt;P&gt;Thanks for the report! We're looking into it.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 02:18:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736674#M32531</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-12-13T02:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: 🚨 New version of Dropbox embed dropins.js breaks other libraries, including Mux.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736675#M32532</link>
      <description>&lt;P&gt;This should be working properly again now. Please let us know if you're still seeing this issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 03:29:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736675#M32532</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-12-13T03:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: 🚨 New version of Dropbox embed dropins.js breaks other libraries, including Mux.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736676#M32533</link>
      <description>&lt;P&gt;Looks like that fix works for us - thanks for the quick response!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 03:46:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/New-version-of-Dropbox-embed-dropins-js-breaks-other-libraries/m-p/736676#M32533</guid>
      <dc:creator>jayharris</dc:creator>
      <dc:date>2023-12-13T03:46:38Z</dc:date>
    </item>
  </channel>
</rss>

