Skip to content

Twig API ​

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

Parameters ​

twic_domain ​

  • Type: string

Configures your Twicpics domain.

twic_path ​

  • Type: string

Configures your Twicpics path.

twic_transform ​

  • Type: Object

Defines custom transforms that should be used on the video. See Twicpics documentation to discover available transformations.

Examples

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