RUS Video Embeds for VK Video, Rutube and Dzen
RUS Video Embeds adds support for Russian video hosting platforms in WordPress:
- VK Video — vk.com/video*, vkvideo.ru/*
- Rutube — rutube.ru/video/*
- Dzen — dzen.ru/embed/* (embed links)
This is an unofficial plugin and is not affiliated with VK, Rutube, or Dzen.
⚠️ Dzen notice: Regular video links (dzen.ru/video/watch/...) do not work for embedding — Dzen uses separate embed links. When a watch-link is pasted, the plugin displays instructions on how to get the correct link. More info: How to embed Dzen video in WordPress
Features:
- Auto-embed videos by URL (oEmbed) — just paste a link on its own line
- Shortcodes
[vk_video],[rutube],[dzen]for the Classic Editor - Gutenberg block “RU Video” with preview and settings
- Responsive iframe (16:9 by default)
- Configurable vertical margins via Gutenberg spacing presets
- Settings page: default dimensions, autoplay, margins, enable/disable providers
- Security: sandboxed iframe, lazy loading, URL validation
- Extensible: add your own providers via the
rus_video_embeds_register_providersfilter
Usage
oEmbed (automatic): Simply paste a video link on its own line in the editor: https://rutube.ru/video/abc123def456/
Shortcodes: [vk_video url=”https://vk.com/video-123456_789012″] [rutube url=”https://rutube.ru/video/abc123/” width=”800″ height=”450″] [dzen url=”https://dzen.ru/embed/abc123def456″ autoplay=”1″]
Gutenberg: Add the “RU Video” block and paste the URL.
Dzen — how to get an embed link:
- Open the video on Dzen
- Click “Share” → “Embed”
- Copy the link from the
srcattribute in the iframe code (format:https://dzen.ru/embed/...) - Paste this link into the block, shortcode, or oEmbed
You can also paste the entire <iframe> code into the Gutenberg block — the plugin will automatically extract the embed URL.
Detailed instructions with screenshots: How to embed Dzen video in WordPress
External services
This plugin uses external services to resolve and display video preview images in the FluentCommunity integration.
1) VK video embed page (vk.com, vkvideo.ru)
– What the service is used for: The plugin requests the video embed page to extract preview image metadata for FluentCommunity cards.
– What data is sent and when: When a VK preview is generated or refreshed, WordPress sends an outbound HTTP GET request to the video embed URL. The request includes the target video URL and a standard WordPress user agent string (WP-URLDetails/... (+site-url)).
– Provider links: Terms of Service: https://vk.com/terms ; Privacy Policy: https://vk.com/privacy
2) VK preview image CDN (iv.okcdn.ru)
– What the service is used for: The plugin builds and uses the final VK preview image URL from iv.okcdn.ru to show the thumbnail in FluentCommunity previews.
– What data is sent and when: When preview metadata is parsed for VK embeds, the plugin constructs an external image URL on iv.okcdn.ru. The browser and/or WordPress may request this image URL when rendering preview cards.
– Provider links: Terms of Service: https://ok.ru/regulations ; Privacy Policy: https://ok.ru/privacy
3) Rutube preview image CDN (rtbcdn.ru)
– What the service is used for: Rutube thumbnails used in preview cards are loaded from Rutube CDN domains such as rtbcdn.ru.
– What data is sent and when: When a Rutube URL is parsed by FluentCommunity (RemoteUrlParser) and the preview is rendered, the thumbnail URL returned by Rutube metadata is requested by the browser/WordPress.
– Provider links: Terms of Service: https://rutube.ru/info/agreement/ ; Privacy Policy: https://rutube.ru/info/privacy/
4) Dzen preview image CDN (avatars.dzeninfra.ru)
– What the service is used for: Dzen thumbnails used in preview cards are loaded from Dzen infrastructure domains such as avatars.dzeninfra.ru.
– What data is sent and when: When a Dzen URL is parsed by FluentCommunity (RemoteUrlParser) and the preview is rendered, the thumbnail URL returned by Dzen metadata is requested by the browser/WordPress.
– Provider links: Terms of Service: https://dzen.ru/legal/ru/termsofuse/index.html ; Privacy Policy: https://yandex.ru/legal/confidential/
Development / Build
JavaScript source code for block assets is included in this plugin package: blocks/video/src/
Compiled production assets used at runtime are located in: blocks/video/build/
Build commands:
1. npm install
2. npm run build
Public source repositories: – WordPress.org plugin SVN: https://plugins.trac.wordpress.org/browser/rus-video-embeds/ – GitHub mirror: https://github.com/wplovers-ru/rus-video-embeds
