vembedr (version 0.1.4)

parse_video_url: 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

Run this code
# NOT RUN {
parse_video_url("https://youtu.be/1-vcErOPofQ?t=28s")
# }

Run the code above in your browser using DataLab