Learn R Programming

swirlify (version 0.5.3)

wq_video: Template for video question

Description

The url provided for video_link can be a link to any website.

Usage

wq_video(output = "Would you like to watch a short video about ___?",
  video_link = "http://address.of.video")

Arguments

output

Text that is displayed to the user.

video_link

A link to a url. Please make sure to use http:// or https://.

Examples

Run this code
# NOT RUN {
# While writing a new lesson by hand just use:
wq_video()

# If converting from another format to a swirl course you may want to sue the
# API:
wq_video("Now Roger will show you the basics on YouTube.",
 "https://youtu.be/dQw4w9WgXcQ")
# }

Run the code above in your browser using DataLab