Описание
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:
- Edit a page or post in the WordPress block editor.
- Select a Cover block that contains a video.
- In the block settings sidebar, scroll down to «Advanced» and add
noloopto the «Additional CSS class(es)» field. - Save or publish — the video will no longer loop.
No settings page, no configuration needed. Lightweight and focused on doing one thing well.
Требования
PHP 8.0+ , WordPress 5.7+
Установка
To install the plugin automatically:
- Through WordPress admin, use the menu: Plugin > Add new
- Search for SYB — Video Don’t Loop for Cover Block
- Click on install then click activate link
To install the plugin manually:
- Download and unzip the plugin syb-video-dont-loop-for-cover-block.zip
- Upload /syb-video-dont-loop-for-cover-block/ to the /wp-content/plugins/ directory
- Активируйте плагин на странице «Плагины» в WordPress
- Refer to the How to Use section to turn off looping for a specific Cover block.
Поддержка
Before leaving a review >> Feel free to ask questions here in the support section, we reply to every question!
Часто задаваемые вопросы
-
Is Video Don’t Loop free?
-
Yes completely free!
-
Can you help me create something unique to my needs?
-
Absolutely check out our website.
Участники и разработчики
«SYB — Video Don't Loop for Cover Block» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«SYB — Video Don't Loop for Cover Block» переведён на 1 язык. Благодарим переводчиков за их работу.
Перевести «SYB — Video Don't Loop for Cover Block» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.0.1
- Adding the icon for WordPress.org listing
1.0.0
- Intial Release, it’s in use on production for a client with no issues.