VideoPlayerView
public struct VideoPlayerView : View
A view that provides the Bitmovin Player UI and default UI handling to an attached Player instance.
This view needs a Player instance to work properly. This Player can be passed to the initializer.
-
Creates a
PlayerViewDeclaration
Swift
public init( // swiftlint:disable:this type_contents_order player: Player, playerViewConfig: PlayerViewConfig = PlayerViewConfig() )Parameters
playerThe
Playerinstance which will be associated with thisPlayerViewinstanceplayerViewConfigAn optional configuration object for the
PlayerViewinstance -
The content and behavior of the view.
Declaration
Swift
public var body: some View { get }
VideoPlayerView Structure Reference