parse_video_url {vembedr} | R Documentation |
Parse a URL to determine service and id
Description
This is an internal function, supporting suggest_embed()
Usage
parse_video_url(url)
Arguments
url |
character, URL to parse |
Value
list with members:
- service
character, describes which service is used
- id
character, identifier for the video at the service
- start_time
character, indicates start time
See Also
suggest_embed
Examples
parse_video_url("https://youtu.be/1-vcErOPofQ?t=28s")
[Package vembedr version 0.1.5 Index]