Skip to content

Twig API

The FigureVideoTwicpics template extends the FigureVideo template and adds support for TwicPics API.

Parameters

twic_domain

  • Type: string

Use this parameter to configure your Twicpics domain.

twic_path

  • Type: string

Use this parameter to configure your Twicpics path.

twig_transform

  • Type: Object

Use this parameter to define custom transforms that should be used on the video. See Twicpics documentation to discover available transformations.

Examples

twig
{% include '@ui/atoms/FigureVideo/FigureVideoTwicpics.twig' with {
  twic_domain: 'org.twic.pics',
  twic_transform: {
    focus: 'auto'
  }
} %}