Documentation · ViewHelper reference

XSD schema file | vhs master

Media / VimeoViewHelper

Renders HTML code to embed a video from Vimeo. /

  • Tag usage example

    <v:media.vimeo videoId="NULL" width="123" height="123" title="1" byline="1" portrait="1" color="'00adef'" autoplay="1" loop="1" api="1" playerId="NULL">
    	<!-- tag content - may be ignored! -->
    </v:media.vimeo>
  • Inline usage example

    {v:media.vimeo(videoId: 'NULL', width: 123, height: 123, title: 1, byline: 1, portrait: 1, color: ''00adef'', autoplay: 1, loop: 1, api: 1, playerId: 'NULL')}

Arguments

Argument Description Type
api

Set to TRUE to enable the Javascript API.

boolean
autoplay

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

boolean
byline

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

boolean
color

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

string
height

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

integer
loop

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

boolean
playerId

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

string
portrait

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

boolean
title

Show the title on the video. Defaults to TRUE.

boolean
videoId

Vimeo ID of the video to embed.

string
width

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

integer
Required attribute

Revision history

commit 3687d42840268845172256e6db568d1b8561c714
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Sun Jan 27 13:19:05 2013 +0100

    [FEATURE] Add viewhelper for embedding videos from Vimeo

commit 927dffeca395cc28302c0f969dae0a9b0a74fc31
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Sun Jan 27 13:31:56 2013 +0100

    [TASK] Fix typecasting to comply with TYPO3 CGL

commit 58b1fcc7264ec892037a4b871daf4303b6bf93ec
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Fri Apr 5 16:02:19 2013 +0200

    [TASK] Set correct video dimensions

commit 44d5e62fb171bf5cbaf51f2a9c84869c3390e45c
Author: Björn Fromme <*****@bjo3rn.com>
Date:   Fri Apr 19 14:02:58 2013 +0200

    [DOC] Fix 'typo' in argument description

commit 812925e3b1be49d9c8b7a75bab5fbc815c00601d
Author: Claus Due <*****@wildside.dk>
Date:   Wed May 22 00:06:43 2013 +0200

    [TASK] Cleanup as required by coding standards
    
    Excuse the not-using-PR-direct-to-master commit approach but this one is merely cosmetic in nature and the Travis build is failing because of it.

commit da31bad1d9bb058c072ddb5591e8ed907a1ae8e1
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:08:37 2013 +0100

    [TASK] Happy new year!

commit d2e531da034976e6db1478eef5a8478595fd16fe
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Jan 5 00:45:10 2014 +0100

    [TASK] Migrate to using namespace core class names

commit 52bd6e41ccfef3d8193b350153912a9716e6a087
Author: Benjamin Rau <*****@codearts.at>
Date:   Tue Apr 1 21:09:00 2014 +0200

    [TASK] CGL compliance

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit dffdd0e19116ecc316cb028ac375be6523f6b185
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jun 15 16:40:48 2014 +0200

    [TASK] Use // instead http to avoid errors/warnings with SSL - vimeo

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to license.md file