WARNING: This API has been deprecated and should not be used for new projects. Click here for more information.
Media API Sample: find_videos_by_reference_ids
This example uses the
find_videos_by_reference_ids() READ method, which allows you to retrieve data for a multiple videos.
Note: making this call from the client side exposes your read token, which could allow a developer to access all video data from your account. If you use the READ token with URL access, that developer could even download copies of all your video files. Brightcove recommends making all Media API calls from a server-side application if possible.
Reference IDs of the videos you want to find (separate by commas, no spaces!): (required)
Video fields to return:
For details about the video fields, refer to the Video object in the Media API Reference document.
You must use a read token with URL access to return
The following fields are not returned unless they are explicityly included in the
Media API Request
Below is the request sent to the Media API service:
Below is the JSON data returned by the request:
Below is simple HTML output of the video names using the Handlebars templating system: