Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.data.getVideoThumbId
Stay organized with collections
Save and categorize content based on your preferences.
Get a Video Thumbnail Id for a given asset.
Returns the thumb ID and optional token, or null if a callback is specified.
Usage | Returns | ee.data.getVideoThumbId(params, callback) | ThumbnailId |
Argument | Type | Details | params | VideoThumbnailOptions | Parameters to make the request with. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eThis function retrieves the thumbnail ID and an optional token for a given video asset.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires input parameters specifying the video and can execute synchronously or asynchronously using a callback.\u003c/p\u003e\n"],["\u003cp\u003eIf a callback function is not provided, the function returns the thumbnail ID directly; otherwise, it's passed to the callback.\u003c/p\u003e\n"]]],[],null,["# ee.data.getVideoThumbId\n\n\u003cbr /\u003e\n\nGet a Video Thumbnail Id for a given asset.\n\n\u003cbr /\u003e\n\nReturns the thumb ID and optional token, or null if a callback is specified.\n\n| Usage | Returns |\n|-------------------------------------------------|-------------|\n| `ee.data.getVideoThumbId(params, `*callback*`)` | ThumbnailId |\n\n| Argument | Type | Details |\n|------------|-----------------------|------------------------------------------------------------------------|\n| `params` | VideoThumbnailOptions | Parameters to make the request with. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]