---
title: "init(player:)"
framework: tvmlkit
role: symbol
role_heading: Initializer
path: "tvmlkit/tvplayer/init(player:)"
---

# init(player:)

Creates a new customizable player from an existing player.

## Declaration

```swift
init(player: AVPlayer)
```

## Parameters

- `player`: The player used to create the new player.

## See Also

### Setting Up the Player

- [player](tvmlkit/tvplayer/player.md)
- [playlist](tvmlkit/tvplayer/playlist.md)
