Skip to contents

Include YouTube video.

Usage

includeYT(url, .class = "includeYT")

Arguments

url

character. URL of the YouTube video.

.class

character. The resulting iframe tag is surrounded by div block. You can specify its class attribute to modify its styling.

Value

An embed code of a YouTube video is inserted.