AD(audio = "clipboard", is_url = is.url(audio), copy2clip = interactive(), print = FALSE)
TRUE
audio is
located in the ~audio or ../audio directory
of REPORTS or PRESENTATION directories.TRUE
attempts to copy the
output to the clipboard.TRUE
cat
prints the output to the console.
If FALSE
return
s to the
console.Returns a character vector of an HTML source tag that embeds an audio file.
Converts a url/path to an HTML audio tag. AD
attempts to determine the location of the audio file if it
is not a path or url.
## Not run: # AD("foo.mp4")# ## End(Not run)