vembedr (version 0.1.4)

embed_url: Embed video based on URL

Description

You can use this function to embed video using only the URL and you do not need any customization beyond the start-time. It works for all the services supported by the embed() family of functions.

Usage

embed_url(url)

Arguments

url

character, URL of web-page for video

Value

Object with S3 class vembedr_embed

Details

This function calls suggest_embed() then parses and evaluates the code.

See Also

suggest_embed()

Examples

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

Run the code above in your browser using DataLab