Copyright © 2005-2023 MultiMedia Soft

Youtube.VideoSearchByIDInfoGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a specific information related to the video found through the latest search performed by 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 VideoSearchByIDInfoGet (

nInfo as enumYoutubeVideoSearchByIdInfo

) as String


 

[C#]

public string VideoSearchByIDInfoGet (

enumYoutubeVideoSearchByIdInfo nInfo

);


 

[C++]

public: string VideoSearchByIDInfoGet (

enumYoutubeVideoSearchByIdInfo nInfo

);


 

Parameter

Description

 

 

nInfo

Type of information that needs to be retrieved.

Supported values are the following:

Mnemonic Value

Value

Meaning

YOUTUBE_VIDEO_INFO_ID

0

Video ID

YOUTUBE_VIDEO_INFO_URL

1

Video URL

YOUTUBE_VIDEO_INFO_TITLE

2

Video title

YOUTUBE_VIDEO_INFO_AUTHOR

3

Video author

YOUTUBE_VIDEO_INFO_CHANNEL_ID

4

Channel ID

YOUTUBE_VIDEO_INFO_THUMBNAIL_LOWRES_URL

5

Url for low resolution thumbnail. If needed, this thumbnail image can be downloaded locally through the Youtube.VideoSearchByIDThumbnailGet method.

YOUTUBE_VIDEO_INFO_THUMBNAIL_LOWRES_WIDTH

6

Width for low resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_LOWRES_HEIGHT

7

Height for low resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_MIDRES_URL

8

Url for medium resolution thumbnail. If needed, this thumbnail image can be downloaded locally through the Youtube.VideoSearchByIDThumbnailGet method.

YOUTUBE_VIDEO_INFO_THUMBNAIL_MIDRES_WIDTH

9

Width for middle resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_MIDRES_HEIGHT

10

Height for middle resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_STDRES_URL

11

Url for standard resolution thumbnail. If needed, this thumbnail image can be downloaded locally through the Youtube.VideoSearchByIDThumbnailGet method.

YOUTUBE_VIDEO_INFO_THUMBNAIL_STDRES_WIDTH

12

Width for standard resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_STDRES_HEIGHT

13

Height for standard resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_HIGHRES_URL

14

Url for high resolution thumbnail. If needed, this thumbnail image can be downloaded locally through the Youtube.VideoSearchByIDThumbnailGet method.

YOUTUBE_VIDEO_INFO_THUMBNAIL_HIGHRES_WIDTH

15

Width for high resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_HIGHRES_HEIGHT

16

Height for high resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_MAXRES_URL

17

Url for max resolution thumbnail. If needed, this thumbnail image can be downloaded locally through the Youtube.VideoSearchByIDThumbnailGet method.

YOUTUBE_VIDEO_INFO_THUMBNAIL_MAXRES_WIDTH

18

Width for max resolution thumbnail

YOUTUBE_VIDEO_INFO_THUMBNAIL_MAXRES_HEIGHT

19

Height for max resolution thumbnail

YOUTUBE_VIDEO_INFO_DESCRIPTION

20

Video description

YOUTUBE_VIDEO_INFO_DURATION

21

Video duration

YOUTUBE_VIDEO_INFO_VIEW_COUNT

22

Video views counter

YOUTUBE_VIDEO_INFO_UPLOAD_DATE

23

Video upload date

YOUTUBE_VIDEO_INFO_IS_PLAYABLE

24

Video is playable or must be purchased

YOUTUBE_VIDEO_INFO_CHANNEL_TITLE

25

Video channel title

YOUTUBE_VIDEO_INFO_TAGS

26

Video tags

YOUTUBE_VIDEO_INFO_LIKE_COUNT

27

Video likes count

YOUTUBE_VIDEO_INFO_COMMENT_COUNT

28

Video comments count

YOUTUBE_VIDEO_INFO_IS_NOT_PLAYABLE_REASON

29

Video is not playable due to this reason

 

 

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