跳到内容

SYB – Video Don't Loop for Cover Block

v1.0.1

shapeyourbits · 2026年4月10日 上架

Removes the loop attribute from videos inside a core Cover block when the block has "noloop" CSS class in the Additional CSS class(es).

正在使用
20+
评分
5.0 / 5
累计下载
427
最近更新
2026年4月10日
1 条评价需要 WordPress 5.7+已测试到 6.9.12PHP 8.0+

贡献者

By default, videos inside WordPress Cover blocks loop endlessly. Video Don’t Loop gives you a simple way to stop that — just add the CSS class noloop to any Cover block and the video will play once and stop.

How to use:

  1. Edit a page or post in the WordPress block editor.
  2. Select a Cover block that contains a video.
  3. In the block settings sidebar, scroll down to “Advanced” and add noloop to the “Additional CSS class(es)” field.
  4. Save or publish — the video will no longer loop.

No settings page, no configuration needed. Lightweight and focused on doing one thing well.

Requirements

PHP 8.0+ , WordPress 5.7+

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums