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 isfalse
.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 callDeclaration
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