Description Usage Arguments Value References Examples
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.
1 2 | AD(audio = "clipboard", is_url = is.url(audio), copy2clip = interactive(),
print = FALSE)
|
audio |
A url, path or file located in the audio directory which is an audio file. |
is_url |
logical. If |
copy2clip |
If |
print |
logical. If |
Returns a character vector of an HTML source tag that embeds an audio file.
http://www.w3schools.com/html/html5_audio.asp
1 2 3 4 | ## Not run:
AD("foo.mp4")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.