Video.newForResource

gtk.video.Video newForResource(string resourcePath = null)

Creates a [gtk.video.Video] to play back the resource at the given resource_path.

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

Parameters

resourcePathresource path to play back

Returns

a new [gtk.video.Video]