YouTube Videos

The Pro version gives you the ability to get data from YouTube videos that have been placed inside the content of the article's text (via the youtube iframe code), similarly to the "Images from content" feature.

SyntaxDescription
[youtube-1] The first YouTube video found. To place the fifth video found in the content, use [youtube-5].
[youtube-random] A random YouTube video found in the content.
[youtube-...-url] The url of these videos instead. This will output the url as you see it in the browser.
[youtube-...-iframe-url] The embed url for use in iframes.
[youtube-...-short-url] The short url (using the youtu.be domain).
[youtube-...-id] Only the id of the YouTube video.
[youtube-...-link]...[/youtube-...-link] Add a link to the YouTube video.
[youtube-count] The total number of YouTube videos found in the text. You can also use this value in the If Structures.

You can grab any available attribute that is found inside the original html <iframe> tag too. For instance, [youtube-3-class] will output whatever is found in the class="..." attribute. If the attribute is not found in the <iframe> tag, it will simply return nothing.

You can also output the youtube thumbnail image for the video using [youtube-...-thumb]. And like with other Image tags, you can output the url with [youtube-...-thumb-url].

This example below will output a linked thumbnail image of the first youtube video found in the article:

[youtube-1-link][youtube-1-thumb][/youtube-1-link]

Vimeo Videos

Vimeo is also supported. The Pro version gives you the ability to get data from Vimeo videos that have been placed inside the content of the article's text (via the vimeo iframe code).

SyntaxDescription
[vimeo-1] The first Vimeo video found. To place the fifth video found in the content, use [vimeo-5].
[vimeo-random] A random Vimeo video found in the content.
[vimeo-...-url] The url of these videos instead. This will output the url as you see it in the browser.
[vimeo-...-iframe-url] The embed url for use in iframes.
[vimeo-...-id] Only the id of the Vimeo video.
[vimeo-...-link]...[/vimeo-...-link] Add a link to the Vimeo video.
[vimeo-count] The total number of Vimeo videos found in the text. You can also use this value in the If Structures.

You can grab any available attribute that is found inside the original html <iframe> tag too. For instance, [vimeo-3-class]will output whatever is found in the class="..." attribute. If the attribute is not found in the <iframe> tag, it will simply return nothing.

Adding or overriding attributes

You can also override attributes or set extra attributes to be used in the output <iframe> tag in any video data tag that generates one.

For instance, you can set your own class name:

[youtube-3 class="my-youtube-vid"]
[vimeo-2 class="my-vimeo-vid"]