Package

ViewHelpers

ViewHelper Documentation

v:media.youtube

Renders HTML code to embed a video from YouTube

Arguments

additionalAttributes anySimpleType

Additional tag attributes. They will be added directly to the resulting HTML tag.

videoId string

YouTube id of the video to embed.

width integer

Width of the video in pixels. Defaults to 640 for 16:9 content.

height integer

Height of the video in pixels. Defaults to 385 for 16:9 content.

autoplay boolean

Play the video automatically on load. Defaults to FALSE.

legacyCode boolean

Whether to use the legacy flash video code.

showRelated boolean

Whether to show related videos after playing.

extendedPrivacy boolean

Whether to use cookie-less video player.

ViewHelper Resources

Schema Resources