We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

alex b.38's avatar
alex b.38
New member | Level 1
9 years ago

Android Api get thumbnail from video

Hi,

I wish to get thumbnail from videos with

sDbxClient.files().getThumbnail(metadata.getMetadata().getPathLower())

And it always throw me 

com.dropbox.core.v2.files.ThumbnailErrorException: Exception in get_thumbnail: "unsupported_image"

How can I solve this?

Regards,

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

    The unsupported_image error means "The image cannot be converted to a thumbnail." 

    It sounds like you're trying to get thumbnails for videos specifically, but unfortunately that's not currently supported. We'll consider it a feature request though.

  • alex b.38's avatar
    alex b.38
    New member | Level 1

    Ok but what's the way to get thumbnail of videos element to show them as a grid?

     

    Regards,

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

    Unfortunately, the Dropbox API doesn't currently support thumbnails for video files.

  • Carl H.9's avatar
    Carl H.9
    New member | Level 1

    Just checking, is it possible to get thumbnails of videos from temporary links at the moment, I noticed the previous comment saying it was not possible as of June 18 2016.

     

    Thanks

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

    No, temporary links only return the original file content, and don't offer an option for getting thumbnails. 

  • Carl H.12's avatar
    Carl H.12
    New member | Level 1

    So is there a way to generate thumbnail images from video urls in dropbox using the Javas APi.

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

    No, the API doesn't offer a way to get thumbnails for video links.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 months ago
325 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!