---
title: "Video Block"
description: "A Template reference of how the template is structured. This a useful information for building a custom block or editing templates in code."
url: https://docs.topol.io/email-editor/template-reference/blocks/video.html
---

# Topol Video Block

**The video block reuses the `mj-image` tag with `isVideo: true`**, rendering a poster image that links to the video at `videoSrc`.

```ts
interface TopolVideoBlock extends TopolBlock {
  tagName: "mj-image";
  isVideo: true;
  attributes: {
    src: string;
    alt: string;
    padding: string;
    width: string;
    href: string;
    containerWidth: number;
    videoSrc?: string;
    "css-class"?: "hide_on_mobile" | "hide_on_desktop";
  };
}
```
