View source: R/list_captions.R
| list_captions | R Documentation |
List Captions for YouTube Video
list_captions(video_id, query = NULL, auth = "token", ...)
video_id |
ID of the YouTube video |
query |
Fields for 'query' in 'GET' |
auth |
Authentication method: "token" (OAuth2) or "key" (API key) |
... |
Additional arguments to send to |
A list containing caption information
## Not run:
video_id <- "M7FIvfx5J10"
list_captions(video_id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.