insert_audio | R Documentation |
Insert audio
insert_audio(
src,
controls = TRUE,
autoplay = FALSE,
loop = FALSE,
muted = FALSE,
preload = c("none", "auto", "metadata")
)
src |
character. It specifies the location (URL) of the audio file. |
controls |
logical. When |
autoplay |
logical. When |
loop |
logical. When |
muted |
logical. When |
preload |
character. It specifies if and how the author thinks that the audio file should be loaded when the page loads. Possible values are |
returns set of html tags
George Moroz <agricolamz@gmail.com>
insert_audio("1.wav")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.