Video.setResource

void setResource(string resourcePath = null)

Makes self play the resource at the given resource_path.

This is a utility function that calls [gtk.video.Video.setFile].

Parameters

resourcePaththe resource to set