howlerSeekSlider {howler} | R Documentation |
Seek Slider
Description
A UI element that can be included with a howler
to manually change the location of the track.
Usage
howlerSeekSlider(id)
Arguments
id |
ID given to the volume slider. For it to work with the |
Value
A slider element of class howler-seek-slider
that will display the position of the current track
playing.
Examples
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)
}
[Package howler version 0.3.0 Index]