_includes/shortcodes/video

A JavaScript Template module for embedded videos

Source:
Parameters:
NameTypeDescription
eleventyConfigObject

11ty’s Config API

Methods

(inner) video(video) → {String}

Embedded video markup

Source:
Parameters:
NameTypeDescription
videoObject

The video data object

Returns:
Type:
String

HTML template literal

Example
`${this.video(data)}`