Skip to content

Videos Block

With the Videos Gutenberg block (immomakler/single-videos) you output all videos of a property: YouTube and Vimeo links as well as video files from your CRM software. The videos appear as described under Property Videos — as a preview image with a play button, with a lightbox and a consent prompt.

Videos block on the frontend with a heading and a video preview image with a play button
  • WordPress with the Gutenberg editor
  • WP-ImmoMakler (any edition)
  • A property in context: Place the block in a Site Editor template for the Property post type or on a template page — see Create Single Page.
  • At least one video on the property. For properties without a video, the block does not appear on the frontend, and neither does an optional heading.
  1. Open a template or template page

    Open the template for the Property post type in the Site Editor (requires a block theme) or the template page on which the detail view of your properties is built.

  2. Insert the block

    Click the + icon and search for Videos, or navigate to the Widgets category. Insert the block.

  3. Adjust the display

    In the sidebar under Videos, choose the aspect ratio and, if needed, a corner radius. Under Heading you can show a heading of your own above the videos.

  4. Save

    In the editor, the block shows the videos of the preview property. If it has no videos, you see a notice instead. In that case, choose a preview property with a video to check the display.

PanelOptionDefaultDescription
VideosAspect ratio3:216:9, 3:2, or 4:3 (landscape format) or 1:1 (square).
VideosCorner radius0Rounds off the corners of the videos, in px, %, em, or rem. With “Alle Seiten gleich” switched off, you set each corner individually.
HeadingShow headingNoOutputs a heading above the videos.
HeadingTextVideosText of the heading.
Heading“HTML-Element”H2Heading level H1 to H6, matching the structure of your page.
Heading“Schriftgröße (px)” / “Schriftgewicht” / “Schriftfarbe”Theme defaultFont size, font weight, and font color of the heading.
Heading“Abstand zum Video (px)”Theme defaultSpacing between the heading and the first video.

You can also set the colors, typography, and spacing of the whole block in the Design tab.

  • Property Videos — supported formats, lightbox, consent prompt, and preview images
  • Virtual Tours — embed a property’s 360° tours
  • Gallery — output a property’s image gallery
  • Create Single Page — build the detail view in the Site Editor or on a template page