Contents

init(player:)

Creates a video-player user interface for the player object.

Declaration

@MainActor @preconcurrency init(player: AVPlayer?)

Parameters

  • player:

    The player that plays the audiovisual content.

See Also

Creating a video player