BlazeVideosPlayerButtonStyle - iOS
The BlazeVideosPlayerButtonStyle struct represents the configuration for a video button.
Properties
width
var width: CGFloatThe width of the button.
height
var height: CGFloatThe height of the button.
color
var color: UIColorThe tint color of the button.
isVisible
var isVisible: BoolIndicates whether the button is visible.
isVisibleForAds
var isVisibleForAds: BoolIndicates whether the button is visible for ads
contentHorizontalAlignment
var contentHorizontalAlignment: UIControl.ContentHorizontalAlignmentHorizontal content alignment of the button.
contentVerticalAlignment
var contentVerticalAlignment: UIControl.ContentVerticalAlignmentVertical content alignment of the button.
customImage
var customImage: BlazeVideosPlayerButtonCustomImageStates?Custom image for the button.
glassBackground
var glassBackground: BlazeGlassBackgroundStateControls whether the button renders a Liquid Glass background on iOS 26 and later. Defaults to .automatic for playPause, replay, previous, next, seekForward, and seekBackward, whose default icons already have a translucent background, and to .off for every other button. See Liquid Glass.
Updated about 9 hours ago
Did this page help you?
