#see https://6634ea6cb86b9825df5cb7bb-ktyiefbntg.chromatic.com/?path=/docs/elements-bricks-b-video--docs
# https://gitlab.bgm-gmbh.de/nov/templates/azh/-/blob/main/elements/bricks/b-video/b-video.template.twig

tt_content.b-video =< lib.twigContentElement
tt_content.b-video {
  templateName = elements/bricks/b-video/b-video.template.twig
  dataProcessing {
    10 = Bgm\BgmThemeAzh\DataProcessing\VideoDataProcessor
    10 {
      mediaField = media
      as = video
    }
    20 = Bgm\BgmThemeAzh\DataProcessing\ButtonArrayProcessor
  }
  variables {
    contentBase < lib.ContentBase
    contentBase.heading {
      align.field >
      align.value =
    }

    buttonGroup < lib.buttonGroup



    video {
      aspectRatio = TEXT
      aspectRatio.field = aspect_ratio
      cookieMessage = Bitte Klicken damit Vid angezeigt werden kann
    }


    buttonGroup {
      isStretched = TEXT
      isStretched.field = buttongroup_isstretched
      isVertical = TEXT
      isVertical.field = buttongroup_isvertical
    }

  }
}
