---
title: "init(contentURL:)"
framework: mediaplayer
role: symbol
role_heading: Initializer
path: "mediaplayer/mpmovieplayerviewcontroller/init(contenturl:)"
---

# init(contentURL:)

Returns a movie player view controller initialized with the specified movie.

## Declaration

```swift
init!(contentURL: URL!)
```

## Parameters

- `contentURL`: The URL that points to the content to be played.

## Return Value

Return Value A movie player view controller initialized with the specified URL.

## See Also

### New methods

- [moviePlayer](mediaplayer/mpmovieplayerviewcontroller/movieplayer.md)
