BitmovinUserInterfaceConfig

@objcMembers
@objc(BMPBitmovinUserInterfaceConfig)
public class BitmovinUserInterfaceConfig : UserInterfaceConfig

Contains config values that can be used to alter the visual presentation and behaviour when the Bitmovin Player Web UI is used.

  • Handles the communication with the Bitmovin Web UI in both directions

    Declaration

    Swift

    public var customMessageHandler: CustomMessageHandler?
  • When set to true the first frame of the main content will not be rendered before playback starts. Default is false.

    To reliably hide the first frame before a pre-roll ad, please ensure that you are using the AdvertisingConfig to schedule ads and not the scheduleAd API call.

    Declaration

    Swift

    public var hideFirstFrame: Bool
  • When set to true the Bitmovin Player Web UI forces subtitle-labels back into their respective container if they overflow and are therefore cropped.

    This flag directly maps to the UIConfig.forceSubtitlesIntoViewContainer of our Bitmovin Player Web UI.

    Default is true.

    Declaration

    Swift

    public var forceSubtitlesIntoViewContainer: Bool
  • When set to true the Bitmovin Player Web UI will show the playback speed selection option in the settings menu.

    Default is true.

    Declaration

    Swift

    public var playbackSpeedSelectionEnabled: Bool
  • When set to true the Bitmovin Player Web UI will update video frames while scrubbing the seek bar.

    Default is true.

    Declaration

    Swift

    public var enableSeekPreview: Bool