Skip to main content

Player UI customization

Branding Player - Changing Colors

To change player colors, add custom CSS rules to override the default stylesheet colors. Check the example below. Set variable values to customize colors as you wish:

<style>
:root {
--playback-marker-bg-color: rgba(173, 53, 53, 1);
--playback-marker-border-color: rgba(255, 0, 0, 1);
--playback-track-played-color: rgba(255, 0, 0, 1);
--playback-track-buffered-color: rgba(255, 0, 0, 0.1);
--playback-track-bg-color: rgba(255, 255, 255, 0.35);
--text-color: rgba(255, 255, 255, 1);
--background-color: rgba(0, 0, 0, 1);
}

.bitmovinplayer-container
div.bmpui-seekbar
.bmpui-seekbar-playbackposition-marker,
.bitmovinplayer-container
div.bmpui-ui-container.bmpui-controlbar-bottom
.bmpui-seekbar-playbackposition-marker {
border-color: var(--playback-marker-border-color);
background-color: var(--playback-marker-bg-color);
}

.bitmovinplayer-container
div.bmpui-seekbar
div.bmpui-seekbar-playbackposition {
background-color: var(--playback-track-played-color);
}

.bitmovinplayer-container div.bmpui-seekbar div.bmpui-seekbar-bufferlevel {
background-color: var(--playback-track-buffered-color);
}

.bitmovinplayer-container div.bmpui-seekbar div.bmpui-seekbar-backdrop {
background-color: var(--playback-track-bg-color);
}

.bitmovinplayer-container span.bmpui-ui-playbacktimelabel {
color: var(--text-color);
}

div.bitmovinplayer-container {
background-color: var(--background-color);
}

.bmpui-ui-uicontainer {
font-size: 1.1em;
}
</style>

To display a custom logo or watermark, override the styles using the following instructions:

<style>
.bmpui-ui-watermark {
display: none;
}
</style>

to

<style>
.bmpui-ui-watermark {
background-image: url("https://path/of/your/image.png");
}
</style>

Advanced Modifications

If you intend to make significant changes to the player's appearance, such as:

  • Switching element order
  • Changing DOM structure
  • Adding custom controls
  • Modifying player localization

Check out the documentation of the Bitmovin UI package to build your own UI: Bitmovin Player UI GitHub

Low-code embed iframe

Customizing the iframe embedded player is not available at the moment. If you want to customize the look of the player, use a web page embed instead.