從您的自訂檢視取得影片Get videos from your custom view

Bing 自訂影片搜尋可讓您的自訂影片搜尋體驗更豐富。Bing Custom Videos Search lets you enrich your custom search experience with videos. 與 Web 結果類似,自訂搜尋支援搜尋執行個體之網站清單中的影片。Similar to web results, custom search supports searching for videos in your instance's list of websites. 您可以使用 Bing 的「自訂影片搜尋 API」,或透過「託管的 UI」功能來取得影片。You can get the videos using Bing's Custom Videos Search API or through the Hosted UI feature. 「託管的 UI」功能較容易使用且建議您使用,因為它只要需要一些時間就能讓您的搜尋體驗開始運作。Using the Hosted UI feature is simple to use and recommended for getting your search experience up and running in short order. 如需設定託管的 UI 以包含影片的相關資訊,請參閱設定託管的 UI 體驗For information about configuring your Hosted UI to include videos, see Configure your hosted UI experience.

如果您想要進一步控制搜尋結果的顯示,您可以使用 Bing 的自訂影片搜尋 API。If you want more control over displaying the search results, you can use Bing's Custom Videos Search API. 因為呼叫該 API 就類似呼叫 Bing 影片搜尋 API,如需呼叫 API 的範例,請參閱 Bing 影片搜尋Because calling the API is similar to calling the Bing Video Search API, checkout Bing Video Search for examples calling the API. 但在您這樣做之前,建議您先了解自訂影片搜尋 API 參考 (英文) 內容。But before you do that, familiarize yourself with the Custom Videos Search API reference content. 主要的差異在於支援的查詢參數 (您必須包含 customConfig 查詢參數) 以及接收您傳送之要求的端點。The main differences are the supported query parameters (you must include the customConfig query parameter) and the endpoint you send requests to.