Using different players
This is documentation for Drupal 7, which is no longer supported. Learn more and find resources for Drupal 7 sites
With the Brightcove module it's possible to use different Brightcove players for different videos. It can be useful if you're working with multiple player designs for the same page.
Now you can use different players with both fields or Media integration.
Steps for getting the player ID and key (needed in both case)
- Try planning how many different player will be needed for your site and create them in Brightcove Studio.
You can do this by adding new players in the Publishing section of Brightcove Studio. (You'll need to log in to Brightcove if you haven't done it already.) It's possible to choose from multiple templates, so you can create a custom player easily by modifying them. - Note the player ID and player key for each player needed.
This is the very same process that you've already did for setting up the default player, so just repeat this process for the players you need.
Different players when using fields
You can find the player settings at two place:
- at the Brightcove settings, which one is for selecting the default player
- at each Brightcove Video field's setting, which can override the default (and won't do anything if it's not filled in).
This means that you must have an additional field for each custom player (probably you will use different content types, too).
Set up your fields.
Choose Manage fields on the content type that you would like to configure at Structure > Content types. You'll have to configure the Brightcove Video field, so create one (if you don't have already) or edit the existing one. In the Video settings section you can find the Brightcove Player ID and the Brightcove Player KEY fields - fill them with the information you've found earlier and save.
After saving settings, the new player will be used on that field.
Different players when using Media integration
With Media, you can set up the player that you would like to use on a per file view mode basis.
- Check your video content type's current display settings; visit admin/structure/types/manage and click on the content type's manage display link. We're looking for the Media field's File view mode, because that's the file view mode that we should change.
- Visit the file view mode's settings page. You can reach that by going to admin/config/media/file-types, clicking on file display in the Video row and selecting the view mode from the top row. The Brightcove Video display should be enabled; in the display settings you can find the fields for player ID and key, which you should fill and save the configuration.
Now you will see the selected player on each video uploaded/selected with the Brightcove module's Media integration.
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion