bitmovin-player-ui
    Preparing search index...

    Function buildSubtitleUI

    • Builds a simple UI which only contains the subtitle overlay, and elements required to support programmatic subtitle styling (e.g. using uiManager.getSubtitleSettingsManager().fontSize.value = '150').

      This UI has no visible UI elements and only serves the purpose of displaying subtitles. Subtitles need to be enabled programmatically via the Player API.

      Parameters

      • player: PlayerAPI

        The player instance used to build the UI

      • config: UIConfig = {}

        The UIConfig object

      Returns UIManager