Creates a new new media file for the given resource.
This is a utility function that converts the given resource to a gio.file.File and calls gtk.media_file.MediaFile.newForFile.
resource path to open
a new gtk.media_file.MediaFile playing resource_path
Creates a new new media file for the given resource.
This is a utility function that converts the given resource to a gio.file.File and calls gtk.media_file.MediaFile.newForFile.