GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeStoryPlayerButtonsStyle - React Native

The BlazeStoryPlayerButtonsStyle class represents the configuration for the story buttons.

Properties

mute

 mute?: BlazePlayerButtonStyle = {...}

The mute button style.

exit

 exit?: BlazePlayerButtonStyle = {...}

The exit button style.

share

 share?: BlazePlayerButtonStyle = {...}

The share button style.

captions

 captions?: BlazePlayerButtonStyle = {...}

The closed-captions (CC) toggle button style.

Unlike the other buttons, this one is hidden by default: isVisible defaults to false, so set isVisible: true to show it. The button only appears on content that carries captions, and appears disabled when the content's captions are not available.

Not to be confused with the player-level captions style, which controls the caption text itself. See BlazeStoryPlayerStyle.

Initialization

interface BlazeStoryPlayerButtonsStyle {
  mute?: BlazePlayerButtonStyle;
  exit?: BlazePlayerButtonStyle;
  share?: BlazePlayerButtonStyle;
  captions?: BlazePlayerButtonStyle;
}

Did this page help you?