A UI element that can be included with a howler
to manually change the location of the track.
howlerSeekSlider(id)
ID given to the volume slider. For it to work with the howler
, the ID
must match that of the howler
.
A slider element of class howler-seek-slider
that will display the position of the current track
playing.
if (interactive()) {
library(shiny)
ui <- fluidPage(
title = "howler.js Player",
howler(elementId = "sound", "audio/sound.mp3"),
howlerPlayPauseButton("sound"),
howlerSeekSlider("sound")
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
}