Getting API keys and player information

Last updated on
19 May 2017

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Brightcove API keys

You need Brightcove API keys in order to use the Brightcove module. There is a support page on the Brightcove site on how to get the Media Keys, check it here. In general, the keys which are available to you will depend on the specific level of service you subscribe to. For uploading videos you will need a Write API key and this requires a Professional account.

There are two types of keys:

  • Read - allows browsing videos which have already been uploaded directly to the Brightcove Studio. This is needed for attaching video to nodes in Drupal via the field provided by the module.
  • Write - allows uploading new videos to Brightcove Studio through the Drupal site, via the field provided by the module.

Note: Media API tokens generally end with one or more dots (.). Be sure to include the dots when you use the API tokens — it's easy to forget them when you cut and paste. The easiest way is to use the middle button in the Manage column (in the API Management section) to make sure you're using the right value.

Getting the players information

Brightcove supports multiple players for your videos. Every Player has an unique ID in a following form: 72333655001. We need a player ID and a player key for using a Player with the module.

Go to your Brightcove studio account and click on Publishing. Right now, the Brightcove module supports selecting a single player for use on your site. Choose a player in the publishing section and make note of its Player ID. Getting the player key is a bit harder: use "Get Code" and choose JavaScript. In the JavaScript, look for a line like:
<param name="playerKey" value="[[ A LONG STRING, THIS IS THE PLAYER KEY ]]" />
Make note of this value, too.

Configuring the Brightcove module

All that's left is configuring the module with the values you have: see the Brightcove configuration page.

Help improve this page

Page status: No known problems

You can: