开发者控制台
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

BrightCove Media Player Component

 IV: Add Components for More Functionality

By default, the Amazon media player ("AMZNMediaPlayerComponent") is configured in Fire App Builder. However, if you have a specific need to use the Brightcove media player, you can also choose to use this media player instead. For example, if you're using Freewheel ads, you might want to use the Brightcove media player because Brightcove offers an integration with Freewheel.

There aren't any feature differences between the Brightcove media player and the Amazon media player. They look identical in the user interface. If your media or app infrastructure is coupled closely with BrightCove, you can simply choose to load it instead of Amazon media player.

When users clicks the Watch Now button on the Content Renderer screen, the Brightcove media player plays the content.

Configure the BrightCoveMediaPlayerComponent

  1. In the Android view, expand the Gradle Scripts section and open gradle.properties (Project Properties).
  2. Uncomment the following lines:

    # mediaPlayerType = externalExoPlayer
    # compileUrl = com.brightcove.player:exoplayer:5.0.3
    # mavenUrl = http://repo.brightcove.com/releases
    
  3. Load the BrightCoveMediaPlayerComponent into your app by following the instructions in Add or Remove a Component.

Note about Brightcove and Freewheel Integration

If you're using the Brightcove platform for your videos, along with Freewheel ad integration with Brightcove, note that Fire App Builder actually separates these two piece of functionality into different components. To implement Brightcove/Freewheel in Fire App Builder, you would enable the BrightCoveMediaPlayerComponent and also enable the FreewheelAdsComponent.

Additionally, you would configure each component separately as well. This separation of Brightcove from Freewheel allows users who might only use one of the components (for example, Brightcove + VAST ads instead of Freewheel) to leverage these components.


Last updated: Jan 16, 2018