ov_video_control | R Documentation |
The video element and the controls provided by this function are javascript-based, and so are probably most useful in Shiny apps.
ov_video_control(what, ...)
what |
string: the command, currently one of:
|
... |
: parameters used by those commands. For version 2 of the video controller, |
## Not run:
ov_video_control("jog", -1) ## rewind 1s
ov_video_control("jog", 10) ## jump forwards 10s
ov_video_control("set_playback_rate", 0.5) ## play at half speed
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.