ov_get_video_data | R Documentation |
Retrieve a data object stored in a video file metadata tag
ov_get_video_data(video_file, tag = "ov_court_info", b64 = TRUE)
video_file |
string: path to the video file |
tag |
string: the tag name to use |
b64 |
logical: was |
The stored information, or NULL
if there was none
ov_set_video_data()
## Not run:
if (interactive()) {
## mark the geometry of the court in the video
ref <- ov_shiny_court_ref(video_file = ov_example_video(), t = 5)
## store it
newfile <- ov_set_video_data(ov_example_video(), obj = ref)
## retrieve it
ov_get_video_data(newfile)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.