Copyright © 2005-2023 MultiMedia Soft

Youtube.VideoSearchByIDThumbnailGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Downloads and locally stores one of the thumbnail images of the video found through a previous search performed through the Youtube.VideoSearchByID method.

 

For details about management of Youtube connections refer to How to enumerate and download video/audio clips from Youtube tutorial.

For further details about methods related to Youtube searches refer to the YoutubeMan class.

 

 

Syntax

 

[Visual Basic]

Public Function VideoSearchByIDThumbnailGet (

nThumbSize as enumYoutubeVideoSearchByIdInfo

) as String


 

[C#]

public string VideoSearchByIDThumbnailGet (

enumYoutubeVideoSearchByIdInfo nThumbSize

);


 

[C++]

public: string VideoSearchByIDThumbnailGet (

enumYoutubeVideoSearchByIdInfo nThumbSize

);


 

Parameter

Description

 

 

nThumbSize

Size of the thumbnail image.

Supported values are the following:

Mnemonic Value

Value

Meaning

YOUTUBE_VIDEO_INFO_THUMBNAIL_LOWRES_URL

5

Obtains the low resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_MIDRES_URL

8

Obtains the medium resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_STDRES_URL

11

Obtains the standard resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_HIGHRES_URL

14

Obtains the high resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_MAXRES_URL

17

Obtains the max resolution thumbnail

 

 

Return value

 

Value

Meaning

 

 

Empty string

The information is not available or an error occurred (see the LastError property for further error details)

Valid string

String containing the local pathname of the image file