Video SourceType (Bing, Version 2.x)
Bing
The Video SourceType returns a list of videos relevant to the query term. Video results contain properties about the video file such as runtime, format, height, and width, along with the URL for the page that contains the video.
Request Parameters
The following parameters are required for all requests:
-
SearchRequest.AppId Property (Bing, Version 2.0)
-
SearchRequest.Query Property (Bing, Version 2.0)
-
SearchRequest.Sources Property (Bing, Version 2.0)
Note |
|---|
| To get results from a given SourceType, you must specify it in a SearchRequest.Sources statement. |
Optional Parameters
The following optional parameters are applicable to this SourceType.
-
SearchRequest.Version Property (Bing, Version 2.x)
-
SearchRequest.Market Property (Bing, Version 2.0)
-
SearchRequest.Adult Property (Bing, Version 2.0)
-
VideoRequest.Count Property (Bing, Version 2.x)
-
VideoRequest.Offset Property (Bing, Version 2.x)
-
VideoRequest.Filters Property (Bing, Version 2.1)
-
VideoRequest.SortBy Property (Bing, Version 2.1)
Response Fields
The following response fields is common to all SourceTypes:
Query.SearchTerms Property (Bing, Version 2.0)
The following response fields are specific to the Video SourceType:
-
VideoResponse.Total Property (Bing, Version 2.1)
-
VideoResponse.Offset Property (Bing, Version 2.1)
-
VideoResponse.Results Property (Bing, Version 2.x)
-
VideoResult.Title Property (Bing, Version 2.1)
-
VideoResult.SourceTitle Property (Bing, Version 2.1)
-
VideoResult.PlayUrl Property (Bing, Version 2.1)
-
VideoResult.RunTime Property (Bing, Version 2.1)
-
VideoResult.ClickThroughPageUrl Property (Bing, Version 2.1)
-
VideoResult.StaticThumbnail Property (Bing, Version 2.1)
Show:
Note