Feature: #87525 - Add api=1 option in VimeoRenderer

See forge#87525

Description

The parameter api=1 in Vimeo video urls allows API interactions with the video player, for example adding a button to interact with a video on your page. The configuration now allows setting this parameter when rendering Vimeo videos in TYPO3.

Impact

Setting the parameter api = 1 either in TypoScript or Fluid will append api=1 to the Vimeo video URL.

Usage

Set the parameter via TypoScript for EXT:fluid_styled_content by using:

lib.contentElement.settings.media.additionalConfig.api = 1
Copied!

When using Fluid use the Fluid media ViewHelper and additionalConfig to set the argument:

<f:media
      file="{file}"
      alt="{file.properties.alternative}"
      title="{file.properties.title}"
      additionalConfig="{api: 1}"
/>
Copied!