Error: Class "BricksFrontend" not found

I’m following the instructions on setting a background video in a custom element here:

I’ve called “bricksBackgroundVideoInit” in the $scripts variable - however - when I attempt to call the method to render it I get:

Error: Class “BricksFrontend” not found

Background Color, Background Image, and all other options work completely fine – but video doesn’t render the CSS at all.

Here’s my control setting:

    $this->controls['selectScreenContent'] = [
      'tab' => 'content',
      'label' => esc_html__( 'Screen Content', 'lt-bricks' ),
      'type' => 'background',
      'css' => [
        [
          'property' => 'background',
          'selector' => '.screen',
        ],
      ],
      'inline' => true,
    ];

Here’s what I’m using within render():

    echo BricksFrontend::get_element_background_video_wrapper( 
      ['settings' => $settings], 
      'selectScreenContent' 
    );

What am I missing? :thinking: