Last updated April 25, 2016. Created on July 6, 2011.
Edited by jan.mashat, diana.lakatos, scorchio, akosh. Log in to edit this page.

Installation

Drupal 8 - 8.x-1.x

  1. Download the module and its dependencies
  2. Install composer.json dependencies (PHP-API-Wrapper)
    The simplest way to install the module's library dependencies is by using composer_manager:
    drush dl composer_manager
    php modules/composer_manager/scripts/init.php
    composer drupal-update
  3. Install and enable modules
    Install and enable the Brightcove Video Connect module and its dependencies: Token, Time Formatter, Inline Entity Form
  4. Generate credentials
    Go to https://studio.brightcove.com/products/videocloud/admin/oauthsettings and generate a new set of credentials, enabling all permissions.
  5. Add credentials
    Add these credentials under: admin/config/media/brightcove_api_client
  6. Synchronize entities
    Initiate a 'Sync all' of Brightcove videos and playlists into Drupal: admin/reports/brightcove

Known issues

  • Multiple text tracks
    There is a bug in inline_entity_form-8.x-1.0-alpha6 which doesn't handle additional text tracks properly. A patch has been submitted and committed into 8.x-1.x-dev.

Drupal 7 - 7.x-6.x

  1. Download the module and its dependencies
  2. Download and install PHP-API-Wrapper
    Download latest release from https://github.com/brightcove/PHP-API-Wrapper/releases to sites/all/libraries and follow installation instructions here: https://github.com/brightcove/PHP-API-Wrapper (download composer and run install).
  3. Install and enable modules
    Install and enable the Brightcove Video Connect module and its dependencies: Ctools, Entity, Libraries, Date (date_api, date_popup).
  4. Generate credentials
    Go to https://studio.brightcove.com/products/videocloud/admin/oauthsettings and generate a new set of credentials. Make sure you enable all permissions, because currently the API does not expose the user permissions, so the module can’t adapt to that.
  5. Add credentials
    Under admin/config/brightcove/client add these credentials.

Drupal 7 - 7.x-5.x

  1. Download the module and its dependencies
  2. Download the PHP-MAPI-Wrapper
    Download https://github.com/BrightcoveOS/PHP-MAPI-Wrapper to sites/all/libraries
  3. Install and enable the modules
    (both brightcove and brightcove_field)
  4. Get the read and write API keys
    https://videocloud.brightcove.com/admin/api
  5. Set the credentials
    Under admin/config/brightcove

Drupal 6 (unsupported)

  1. Install the Brightcove PHP MAPI Wrapper
    This library is needed for the module to access the Brightcove service. Install it by following these steps.
  2. Download, install and enable modules
    You need to download and install CCK, ModalFrame API, jQuery UI and jQuery Update. It's recommended to install jQuery Update first, then jQuery UI (with version 1.7.3 of the library). Install the rest and after that you can install and enable the Brightcove and the Brightcove CCK Field module.
  3. [Optional step] Test ModalFrame
    If you need to assure that ModalFrame works well, enable the Modal Frame Example module. After enabling the module visit your site at mysite.com/modalframe-example, you can choose from several tests.
  4. Get the API keys and player information from Brightcove
    For the module to start working, you need to get the Media API keys from Brightcove. A player ID and key is also needed. Just follow the instructions here.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

cfuller12’s picture

After step 2, navigate to sites/all/libraries/PHP-API-Wrapper and run composer update.