Run {video} Example Applications
runVideoExample(example = "basic", display.mode = "showcase", ...)
availableVideoExamples()Name of the example to load. Current examples include:
Basic example of video in use
Basic example of using all buttons available in video
Example showing server-side functionality
The mode in which to display the application. By default set to "showcase" to show
code behind the example.
Optional arguments to send to shiny::runApp
This function does not return a value; interrupt R to stop the application (usually by pressing Ctrl+C or Esc).
availableVideoExamples()
#> 'basic', 'full', 'index.html', 'server', 'shared'
if (interactive()) {
library(shiny)
library(video)
runVideoExample("server")
}