Initializer

init(fileNamed:)

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

Declaration

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

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

Deprecated