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
PlayerView
Declaration
Swift
public init( // swiftlint:disable:this type_contents_order player: Player, playerViewConfig: PlayerViewConfig = PlayerViewConfig() )
Parameters
player
The
Player
instance which will be associated with thisPlayerView
instanceplayerViewConfig
An optional configuration object for the
PlayerView
instance -
The content and behavior of the view.
Declaration
Swift
public var body: some View { get }