Instance Method

initWithVideoFileNamed:

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

Declaration

- (instancetype)initWithVideoFileNamed:(NSString *)videoFile;

Parameters

videoFile

The name of the video file.

Return Value

An initialized video node.

See Also

Creating a Video Node

+ videoNodeWithFileNamed:

Creates and initializes a new video node using a video file stored in the app bundle.

+ videoNodeWithAVPlayer:

Creates and initializes a video node using an existing video player object.

+ videoNodeWithURL:

Creates and initializes a video node using a URL that points to a video file.

- initWithAVPlayer:

Initializes a video node using an existing AVPlayer object.

- initWithFileNamed:

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

- initWithURL:

Initializes a video node using a URL.

- initWithCoder:

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

- initWithVideoURL:

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

Deprecated