ov_video_timing | R Documentation |
By default, all skills except reception have a timing of c(-5, 3)
, meaning that the video clip will start 5 seconds before the recorded time of the event and end 3 seconds after its recorded time. Reception has a timing of c(-2, 6)
(because reception usually has the same timestamp as the serve)
ov_video_timing(...)
ov_video_timing_df(x)
... |
: named parameters that will override the defaults. Each parameter should be a two-element numeric vector |
x |
data.frame: a data.frame of timings that will override the defaults, with columns |
ov_video_timing_df
accepts and returns a data.frame rather than a named list. The data.frame format also allows timings to be differentiated by play phase ("Reception" vs "Transition").
For ov_video_timing
a named list, with names corresponding to skills ("Serve", "Reception", etc). For ov_video_timing_df
, a data.frame with columns skill
, phase
, start_offset
, and duration
ov_video_playlist()
## defaults
ov_video_timing()
## with different settings for serve and reception
ov_video_timing(serve = c(-2, 2), reception = c(-3, 1))
## as data.frame
ov_video_timing_df(data.frame(skill = "Set", phase = "Transition",
start_offset = -5, duration = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.