Copyright © 2001-2023 MultiMedia Soft

Youtube.ChannelVideoListSearchItemInfoGet  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.ChannelVideoListSearch 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.ChannelVideoListSearchItemInfoGet (

nIndexItem as Integer,

nInfo as enumYoutubeChannelItemsSearchInfo

) as String


 

[C++]

BSTR control.Youtube.ChannelVideoListSearchItemInfoGet (

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.ChannelVideoListSearchItemsCountGet method.

nInfo

Type of information that needs to be retrieved.

Supported values are the following:

Mnemonic Value

Value

Meaning

YOUTUBE_SEARCH_CHAN_ITEM_INFO_ID

0

Video ID

YOUTUBE_SEARCH_CHAN_ITEM_INFO_URL

1

Video URL

YOUTUBE_SEARCH_CHAN_ITEM_INFO_TITLE

2

Video title

YOUTUBE_SEARCH_CHAN_ITEM_INFO_AUTHOR

3

Video author

YOUTUBE_SEARCH_CHAN_ITEM_INFO_THUMBNAIL_URL

4

Url for video's thumbnail. If needed, the thumbnail image can be downloaded locally through the Youtube.ChannelVideoListSearchItemThumbnailGet method.

YOUTUBE_SEARCH_CHAN_ITEM_INFO_DURATION

5

Video duration

 

 

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