Русский
Academy → Plugins

Video: show a product or a piece of work

Use a clip where a single photo cannot explain the process. Show how to assemble a shelf, for example, or build a gallery of completed repairs.

Page block · preview in Downloads · video

What visitors see

A single clip plays inline or opens from a thumbnail in a dialog. A library of your own clips can appear as a grid or carousel. A dialog loads its player on opening and stops playback when closed.

What you need

Prepare a link or ID to an embeddable YouTube, VK Video or RuTube clip. For your own footage, prepare an accessible video file and optional poster in a HOBA collection; the gallery takes its clips from that collection. The plugin needs no provider key or HOBA permissions. Check that you have permission to publish the footage.

Where the data goes

For your own files, requests go to the server hosting the video and poster. An external player connects to the selected platform and may share ordinary browser request data with it. Choose click-to-open or enable the plugin’s consent gate for inline external playback where needed. A poster you supply can load earlier if hosted externally.

How to enable it

  1. Have the operator check preview compatibility, register the package, install the matching renderer, restart Core, and enable the plugin.

  2. Have the site author select a single clip or gallery and set the source, title, and presentation. For a gallery, publish the collection with its files and titles. The plugin does not upload files itself.

  3. Add a short text explanation below the video and generate a page for testing.

Which settings go where

  • Operator · video 1.1.2: use Plugins → Unsigned plugin package and put the matching renderer under HOBA_PLUGINS_DIR. Configure offers Require consent before loading external players (privacy_consent) and Default aspect ratio (default_ratio). Default provider does not replace the required source field, and Self-hosted library (allow_uploads) does not enable anything. Restart Core and choose Enable.

  • Author · video.embed data in theme source or the API: Source (source) = youtube, vk, rutube, or collection. For a platform set Provider id or Provider URL (ID wins): YouTube ID, VK oid_id pair, or RuTube 32-character ID. Poster URL and Title are optional. For your own files set Collection, Video field and Poster field (e.g. videos, video, poster); the block uses the first playable entry.

  • Author · video.gallery: set Collection, Video field, Poster field and Title field; Mode = grid/carousel, Columns = 1–6. Both blocks support Presentation = inline/dialog and Aspect ratio = 16:9, 4:3, 1:1 or 9:16. The single player has Autoplay, Muted, Loop and Show controls, subject to browser and provider restrictions.

How to check it

Play each clip on a phone and try the controls with a keyboard. Check audio and captions. In dialog mode, close the player and check that focus returns to its card. Test once with the video platform blocked.

If something does not work

Without JavaScript, a dialog card remains a direct link to the clip or file; an inline player leaves the poster or a status. Invalid sources show a placeholder, and platform or browser rules may prevent playback or autoplay. Keep a summary or direct link beside the player.