Video.newForFilename

gtk.video.Video newForFilename(string filename = null)

Creates a [gtk.video.Video] to play back the given filename.

This is a utility function that calls [gtk.video.Video.newForFile], See that function for details.

Parameters

filenamefilename to play back

Returns

a new [gtk.video.Video]