<?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 Re: Video thumbnails in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161324#M5580</link>
    <description>&lt;P&gt;As you noticed, the actual thumbnail functionality in the API works with more file types than officially documented (like videos) as we've improved the back end over time. Right now, I only recommend relying on the officially documented formats working, so if you want to use this functionality for the unofficial types, please code with that&amp;nbsp;in mind.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2015 01:44:14 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-11-24T01:44:14Z</dc:date>
    <item>
      <title>Video thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161323#M5579</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;your documentation states the following for the get_thumbnail API:&lt;/P&gt;
&lt;P&gt;"Get a thumbnail for an image.&lt;BR /&gt;This method currently supports files with the following file extensions: jpg, jpeg, png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail."&lt;/P&gt;
&lt;P&gt;We have tried using it for videos and it works fine, but we would like to be certain that we can rely on it, so we are wondering why videos aren't mentioned under the API description?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:38:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161323#M5579</guid>
      <dc:creator>Petar N.</dc:creator>
      <dc:date>2019-05-29T09:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Video thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161324#M5580</link>
      <description>&lt;P&gt;As you noticed, the actual thumbnail functionality in the API works with more file types than officially documented (like videos) as we've improved the back end over time. Right now, I only recommend relying on the officially documented formats working, so if you want to use this functionality for the unofficial types, please code with that&amp;nbsp;in mind.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 01:44:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161324#M5580</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-11-24T01:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Video thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161325#M5581</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I use the following code to get thumbnail for images and videos (using Swifty Dropbox). It works for images and for many videos but crashes on some other videos. Shouldn't unsuccessful thumb generation be captured in the error section?&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="s2"&gt;func&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; fetchDropboxThumbnail(client: &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;DropboxClient&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, file: &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Files&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Metadata&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, toPath: &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;String&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;l&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;et&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; destination : (&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;NSHTTPURLResponse&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;) -&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; = { temporaryURL, response &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;in&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;let&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; thumbUrl = &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;NSURL&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(fileURLWithPath: toPath)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;return&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; thumbUrl&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;client.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;files&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;.&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;getThumbnail&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(path: file.&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;pathLower&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, destination: destination).&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;response&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;{ response, error &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;in&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;if&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;let&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; response = response {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;print&lt;/SPAN&gt;&lt;SPAN class="s6"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;"Assuming thumbnail saved to toPath"&lt;/SPAN&gt;&lt;SPAN class="s6"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;else&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s7"&gt;print&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s8"&gt;"&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;\&lt;/SPAN&gt;&lt;SPAN class="s8"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;error&lt;/SPAN&gt;&lt;SPAN class="s8"&gt;)"&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&lt;SPAN class="s6"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;// Assuming thumbnail could not be generated&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 04:23:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161325#M5581</guid>
      <dc:creator>sigrem</dc:creator>
      <dc:date>2016-03-18T04:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Video thumbnails</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161326#M5582</link>
      <description>&lt;P&gt;sigrem, please &lt;A href="https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209245" target="_blank" rel="nofollow noreferrer"&gt;open a new thread&lt;/A&gt;&amp;nbsp;with the details of the issue you're having with SwiftyDropbox, including the details of whatever output/errors/crashes you're getting, so we can look into it. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 04:30:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Video-thumbnails/m-p/161326#M5582</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-18T04:30:29Z</dc:date>
    </item>
  </channel>
</rss>

