# ApplePlayerViewController Extension

    extension ApplePlayerViewController: PlayerViewControllerAPI

    extension ApplePlayerViewController: AVPlayerViewControllerDelegate

    extension ApplePlayerViewController: AVPictureInPictureControllerDelegate

### Class methods

- `open(autoplay:)`

  #### Declaration

  Swift

      @available(*, deprecated, message: "Will be removed in 4.2.0. Use open(config:﹚ instead.")
      @MainActor
      func open(autoplay: Bool)

- `open(config:)`

  #### Declaration

  Swift

      @MainActor
      func open(config: PlayerConfiguration)