Skip to main content

Bradmax

QUANTEEC is integrated natively into the Bradmax player: there is no additional library to import. When the Quanteec feature is enabled in the Bradmax admin panel, the generated Bradmax player package already embeds the QUANTEEC P2P plugin, and QUANTEEC is configured directly through the quanteecConfig option of the player.

The complete list of supported options, as well as the player embedding, is documented by Bradmax: see the Bradmax QUANTEEC documentation.

Enable QUANTEEC for Bradmax player​

2 steps:

1- Enable the Quanteec feature on your player in the Bradmax admin panel. The generated player package then includes the QUANTEEC P2P plugin.

info

A QUANTEEC key is required. To create a QUANTEEC configuration and retrieve your default QUANTEEC key, you must first go to the Config page of your panel.

2- Adjust the quanteecConfig of the Bradmax player to your quanteecKey and specific options:

{
quanteecConfig: {
quanteecKey: "<your-quanteec-key>",
videoID: "<enter-your-custom-videoID>" // [Optional but recommended] String --> specific name to identify a video. Useful if the videosource url contains a token which is different for every user. By default: the media id or media source url is used.
}
}
note

The supported options mirror the QUANTEEC web SDK configuration.

For playlists or pages with several videos, per-video values can be mapped with quanteecConfig.media:

{
quanteecConfig: {
quanteecKey: "<your-quanteec-key>",
media: {
"<media.id>": {
analyticsVideoID: "<your-analytics-videoID>", // [Optional]
collection: "<your-collection>", // [Optional]
videoID: "<enter-your-custom-videoID>" // [Optional] If not present, the media id will be used.
}
}
}
}
warning

In your QUANTEEC configuration, remember to set a different videoID if you have different formats of the same stream (e.g., one DASH stream and one HLS stream) or two variants of the same stream (one stream with English audio and one stream with another language).

Click here to find more informations on videoID

StreamBoost​

StreamBoost is also supported natively by the Bradmax player: configure it through the quanteecConfig.streamboost option. The player then displays the StreamBoost button in its UI; set hideInUi: true in the quanteecConfig to hide it.

{
quanteecConfig: {
quanteecKey: "<your-quanteec-key>",
streamboost: {
userId: "<user-id>",
sponsorId: "<my-sponsor>", // [Optional]
sponsorImage: "https://my-sponsor.com/ad-banner.png", // [Optional]
sponsorUrl: "https://my-sponsor.com" // [Optional]
}
}
}

See the Bradmax StreamBoost documentation for the supported options.