Brightcove Player Pre-Release

Product(s)
Video Cloud
Brightcove Player
Role(s)
Studio User
Player Developer
Topic(s)
Release Notes

This document describes the features of the latest pre-release of Brightcove player, as well as how you can try it.

 

VERSION 6 - v6.29.0

12 Dec 2018

  • Bug Fix: Cleanly dispose of HLS/DASH source handler
  • Make players responsive to browser size by default **

**It should be noted that, in this context, making the player "responsive to browser size by default" is distinct from making the player fluid. The following should clarify the new feature:

  • To be clear: static players will not suddenly become fluid!
  • The use of "responsive" in this context means we have enabled the new Video.js responsive option in the Brightcove Player by default (whereas it is off by default in Video.js). This option will cause a vjs-layout-* class to be applied to the player based on a default set of breakpoints whenever the size of the player is changed. This means that the "responsiveness" is not actually based on the browser viewport size, but on the size of the embedded player.
  • Two small UI adjustments have been made based on this new Video.js option. It is anticipated these adjustments should not affect many users, if any, but in the interests of completeness, they are in:
    • Captions settings dialog
    • Social plugin dialog
  • Users who have responsive embeds from the Studio or via Video.js' fluid option will be able to take advantage of the new vjs-layout-* classes to improve their player UI customizations based on the player size. And users who have statically-sized embeds will still get a vjs-layout-* class applied to their player, but it won't change unless the size of the player changes at runtime.

Try new version

If a pre-release version is available, the easiest way to try out a pre-release version is to go to Studio's PLAYERS module, click on the player you wish to change, and then edit the Player Information. Use the version selector (screenshot is an example only, use the latest pre-release version):

select player version

You can update a player to the pre-release version by using a curl statement. A quick overview of curl can be found at the top of the Quick Start: Player Management. In the document there is a specific section on how to update your player.

Here is the curl command to update your player, where you substitute appropriate values for YOUR_EMAIL, YOUR_ACCOUNT_ID and YOUR_PLAYER_ID.

curl \
  --header "Content-Type: application/json" \
  --user YOUR_EMAIL \
  --request PATCH \
  --data '{
    "player": {
    "template": {
      "version": "6.29.0"
      }
    }
  }' \
  https://players.api.brightcove.com/v2/accounts/YOUR_ACCOUNT_ID/players/YOUR_PLAYER_ID/configuration

In most cases you will want to publish the player, which can be done with the following curl statement. Again, you will need to substitute correct values where indicated.

curl \
  --header "Content-Type: application/json" \
  --user YOUR_EMAIL  \
  --request POST \
  https://players.api.brightcove.com/v2/accounts/YOUR_ACCOUNT/players/YOUR_PLAYER_ID/publish