includeAudio {juicedown}R Documentation

Include Audio media.

Description

Include Audio media.

Usage

includeAudio(
  url,
  preload = c("metadata", "auto", "none"),
  alt = "Your browser does not support the audio element."
)

Arguments

url

character. URL of the audio. The media must not be gated.

preload

character. One of metadata, auto and none.

alt

character. Message displayed when the browser does not support the audio tag.

Value

An R object of class "knit_asis" (defined in the knitr package), the data of which is the HTML audio tag to insert into the document.


[Package juicedown version 0.1.1 Index]