ovva_shiny | R Documentation |
Launch the Shiny app
ovva_shiny(
data_path,
playlist_handler = ovva_playlist_handler(),
highlight_handler = ovva_highlight_handler(),
video_server = "lighttpd",
launch_browser = TRUE,
video_timing_df = ov_video_timing_df(),
...
)
data_path |
character or function: a named character vector of paths to data files. The names will be used as the competition names. So e.g. |
playlist_handler |
tibble: a tibble that provides playlist handler capabilities (see |
highlight_handler |
tibble: a tibble that provides playlist handler capabilities (see |
video_server |
string or function: if string, either "lighttpd", "servr", or "none". If a function, it will be used to modify the video file path present in each dvw file. Details TBD |
launch_browser |
logical: if |
video_timing_df |
data.frame: data.frame of default clip timings |
... |
: additional parameters passed to the UI and server functions |
ovva_shiny_demo
## Not run:
## to use your own data, assuming that your data files are in the data/volley/ folder
ovva_shiny(data_path = c(MyData = "data/volley"))
## or to use the bundled demonstration file
ovva_shiny_demo()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.