In this topic, you will learn to use Brightcove Player's catalog library of methods for making requests to the Video Cloud catalog. The catalog's library makes it easy to get information on Video Cloud media and load them into a player. The content in this document applies to Video Cloud only.
In this topic, you will first get a high level overview of using the REST APIs. Then later in the document a deeper dive will discuss example code. The first example uses the Analytics API to retrieve and display in the player's controlbar the number of views the video currently in the player has had. The second, and slightly more complex, example uses the Analytics API in conjunction with the Brightcove Player catalog to retrieve the most popular videos from an account and show them in a playlist. The code discussion in this document will center on retrieving the desired data from the correct REST API. For security reasons, the Brightcove REST APIs cannot be directly accessed from a web client, and a proxy is needed (as detailed in this document). If using server to server communication a proxy is not needed.
Note: By default, updates are applied to all players automatically. To prevent auto-updating of a player you must set it to manual updating (also known as locking a player). You can do this in the Studio Players module or using the Player Management API . Opting out of auto-updates should be a temporary measure, applied while you resolve any issues that the update creates. If you do not update players to the current version, you are missing out on new features and bug-fixes, and older versions of the player will cease to be supported at some point