Copyright © 2001-2023 MultiMedia Soft

Youtube.VideoListSearchItemInfoGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a specific information related to one of the videos found through a previous search performed through the Youtube.VideoListSearch 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 Youtube object section.

 

 

Syntax

 

[Visual Basic]

control.Youtube.VideoListSearchItemInfoGet (

nIndexItem as Integer,

nInfo as enumYoutubeVideosSearchInfo

) as String


 

[C++]

BSTR control.Youtube.VideoListSearchItemInfoGet (

short nIndexItem,

short nInfo

);


 

Parameter

Description

 

 

nIndexItem

Zero-based index of the item to query. The maximum number of available items can be obtained through the Youtube.VideoListSearchItemsCountGet method.

nInfo

Type of information that needs to be retrieved.

Supported values are the following:

Mnemonic Value

Value

Meaning

YOUTUBE_SEARCH_INFO_ID

0

Video ID

YOUTUBE_SEARCH_INFO_URL

1

Video URL

YOUTUBE_SEARCH_INFO_TITLE

2

Video title

YOUTUBE_SEARCH_INFO_AUTHOR

3

Video author

YOUTUBE_SEARCH_INFO_CHANNEL_ID

4

Channel ID

YOUTUBE_SEARCH_INFO_THUMBNAIL_URL

5

Url for thumbnail. If needed, the thumbnail image can be downloaded locally through the Youtube.VideoListSearchItemThumbnailGet method.

YOUTUBE_SEARCH_INFO_DESCRIPTION

6

Video description

YOUTUBE_SEARCH_INFO_DURATION

7

Video duration

YOUTUBE_SEARCH_INFO_VIEW_COUNT

8

Video views count

YOUTUBE_SEARCH_INFO_PUBLISH_DATE

9

Video publish date

 

 

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 requested information