newForResource

fun newForResource(resourcePath: String? = null): Video

Creates a GtkVideo to play back the resource at the given @resource_path.

This is a utility function that calls ctor@Gtk.Video.new_for_file.

Return

a new GtkVideo

Parameters

resourcePath

resource path to play back