Package

ViewHelpers

ViewHelper Documentation

v:media.vimeo

Renders HTML code to embed a video from Vimeo.

Arguments

additionalAttributes anySimpleType

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

data anySimpleType

Additional data-* attributes. They will each be added with a "data-" prefix.

class string

CSS class(es) for this element

dir string

Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)

id string

Unique (in this file) identifier for this HTML element.

lang string

Language for this element. Use short names specified in RFC 1766

style string

Individual CSS styles for this element

title boolean

Show the title on the video. Defaults to TRUE.

accesskey string

Keyboard shortcut to access this element

tabindex integer

Specifies the tab order of this element

onclick string

JavaScript evaluated for the onclick event

videoId string

Vimeo 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 360 for 16:9 content.

byline boolean

Show the users byline on the video. Defaults to TRUE.

portrait boolean

Show the users portrait on the video. Defaults to TRUE.

color string

Specify the color of the video controls. Defaults to 00adef. Make sure that you dont include the #.

autoplay boolean

Play the video automatically on load. Defaults to FALSE. Note that this wont work on some devices.

loop boolean

Play the video again when it reaches the end. Defaults to FALSE.

api boolean

Set to TRUE to enable the Javascript API.

playerId string

An unique id for the player that will be passed back with all Javascript API responses.

ViewHelper Resources

Schema Resources