Linux 软件免费装
Banner图

Vital Video Block

开发者 janhoekdotcom
更新时间 2025年1月8日 16:36
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

performance video block youtube web vitals

下载

1.0.2 1.0.3

详情介绍:

Vital Video is a WordPress block plugin designed to improve Core Web Vitals performance when displaying YouTube videos. Instead of traditional embedding, it provides a lightweight, performance-optimized solution that first loads a clickable video thumbnail. The Vital Video Block doesn’t play videos in the WordPress editor. It’s designed to prioritize performance and user experience on your frontend. To test video behavior, simply preview your post or page. Features Vital Video Settings Mute Toggle The Mute Toggle feature is designed primarily for mobile devices, adhering to browser autoplay policies. Mute Toggle Off (Sound On): Videos require two clicks to start playing:
  1. The first click loads the video.
  2. The second click begins playback. Ideal for maintaining user control and preventing unexpected audio.
Mute Toggle On (Sound Off): Disable WebP Images Only use “Disable WebP Images” when absolutely necessary!

安装:

You can install Vital Video in two ways: Usage
  1. Activating the plugin
  2. Add a new block to your post or page.
  3. Select the "Vital Video" block.
  4. Paste a YouTube video URL.
  5. Customize Vital Video settings in the block inspector.

屏幕截图:

  • A frontend preview of the video thumbnail with the play button.

常见问题:

Why would I disable WebP images?

= What is the Mute Toggle? =\ The Mute Toggle gives you control over video playback:

  • Mute Toggle Off: Videos require two clicks to play and start with sound.
  • Mute Toggle On: Videos play immediately but are muted by default.
  • WebP is faster, but YouTube doesn’t always provide WebP thumbnails.
  • If you see a dummy placeholder image, try different thumbnail sizes first.
  • If none work, enable "Disable WebP Images" to fall back on JPG or other formats.

Can I change the position of the title?

  • Yes, you can overwrite the CSS.
  • Use the selector .wp-block-greuts-vital-video .vital-video .video-title {} and the property: place-self: with the values start, end or center;
  • examples place-self: end; = bottom/right place-self: start center; = top/center
  • Here you can also edit the text and background of the title.

更新日志:

1.0.3 Fixed Style - 03 januari 2025 1.0.2 Release Date - 02 januari 2025 1.0.1 Release Date - 01 januari 2025 1.0.0 *Initial Release