Video.setResource

Makes @self play the resource at the given @resource_path.

This is a utility function that calls [method@Gtk.Video.set_file].

class Video
void
setResource
()

Parameters

resourcePath string

the resource to set

Meta