Initializer

init(videoURL:)

Initializes a video node using a URL that points to a video file.

Declaration

init(videoURL url: URL)

Parameters

url

The URL for the video to play.

Return Value

An initialized video node.

See Also

Creating a Video Node

init(avPlayer: AVPlayer)

Initializes a video node using an existing AVPlayer object.

init(fileNamed: String)

Initializes a video node using a video file stored in the app bundle.

init(url: URL)

Initializes a video node using a URL.

init?(coder: NSCoder)

Tells you when to initialize a video node that was created from an archive.

init(videoFileNamed: String)

Initializes a video node using a video file stored in the app bundle.

Deprecated