| getMedia | R Documentation | 
Downloads a given media track for a given transcript
getMedia(
  labbcat.url,
  id,
  track.suffix = "",
  mime.type = "audio/wav",
  path = ""
)
labbcat.url | 
 URL to the LaBB-CAT instance.  | 
id | 
 A transcript ID (i.e. transcript name).  | 
track.suffix | 
 The track suffix of the media.  | 
mime.type | 
 The MIME type of the media, e.g. "audio/wav" or "application/f0".  | 
path | 
 Optional path to directory where the file should be saved.  | 
The name of the file, which is saved in the current directory, or the given path if specified
getTranscriptIds
getMediaUrl
## Not run: 
## Download the WAV file for BR2044_OllyOhlson.eaf
wav <- getMedia(labbcat.url, "BR2044_OllyOhlson.eaf")
## Download the 'QuakeFace' video file for BR2044_OllyOhlson.eaf
quakeFaceMp4 <- getMedia(labbcat.url, "BR2044_OllyOhlson.eaf", "_face", "video/mp4")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.