Skip to content

Commit

Permalink
fix audio encoding: get from xfun library
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbona1 committed Jan 30, 2024
1 parent a47d043 commit 9fd9c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/app/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -2187,7 +2187,7 @@ server <- function(input, output, session) {
}
div(
tags$audio(id = "my_audio_player",
src = markdown:::.b64EncodeFile(file_name),
src = xfun::base64_uri(file_name),
type = "audio/wav",
controls = "controls", #HTML("controlsList: nodownload"),
#TODO: HTML styling (background colour, no download button,...)
Expand Down

0 comments on commit 9fd9c2f

Please sign in to comment.