Skip to main content

Branding

Branding is an object that contains all the player control-bar logo appearance and URL Redirection options for the SX PlayerSDK.

const branding = {
active: true,
image: "https://storyxpress.co/static/sx_logo_white_player.png",
title: "StoryXpress",
destination: "https://storyxpress.co",
destinationTarget: "_blank",
};
active
Determines whether the branding is active.

Type: bool
Defaults: true

image
URL of the branding image to display.

Type: string
Defaults: "https://storyxpress.co/static/sx_logo_white_player.png"

title
Title text for the branding.

Type: string
Defaults: "StoryXpress"

destination
URL to redirect users to when the branding is clicked.

Type: string
Defaults: "https://storyxpress.co"

destinationTarget
Specifies where to open the linked URL.

Type: string
Defaults: "_blank" Values: "_self", "_blank", "_parent", "_top"