Initializer

init(videoFileNamed:)

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

Declaration

init(videoFileNamed videoFile: String)

Parameters

videoFile

The name of the video file.

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(videoURL: URL)

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

Deprecated