Skip to contents

Create a media file object

Usage

MediaFile(
  location = character(0),
  title = character(0),
  media_type = character(0),
  medium = character(0),
  medium_phrase = character(0),
  media_alt = character(0)
)

Arguments

location

An absolute or relative URL to the file.

title

The title of the multimedia record.

media_type

The media type as defined in RFC 2045.

medium

A value from val_medium_types(). If "OTHER" is selected then a @medium_phrase must be given.

medium_phrase

A free text description of the medium. This is mandatory if @medium is "OTHER".

media_alt

A named vector of the media in alternative media forms, c(form = location)

Value

An S7 object representing a GEDCOM multimedia file substructure.