bolt / lite-embed
📹 A Bolt extension for Lite Youtube and Vimeo Embeds
Installs: 313
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:bolt-extension
Requires
- php: >=7.2.9
- twig/twig: ^2.12 | ^3.0
Requires (Dev)
- bolt/core: ^4.0.0
- symplify/easy-coding-standard: ^6.0
This package is auto-updated.
Last update: 2024-12-12 13:17:46 UTC
README
Author: Dennis Meiderwijk, Bob den Otter
A lightweight extension to display Youtube and Vimeo embeds.
Installation:
composer require bolt/lite-embed
After installation, in your twig file, you can use the {{ lite_embed() }}
function to add your Youtube and Vimeo links.
{{ lite_embed('https://www.youtube.com/watch?v=dQw4w9WgXcQ') }}
{{ lite_embed('https://vimeo.com/10551329') }}
A special thanks to luwes for his lite-vimeo-embed and paulirish for his lite-youtube-embed .
Running PHPStan and Easy Codings Standard
First, make sure dependencies are installed:
COMPOSER_MEMORY_LIMIT=-1 composer update
And then run ECS:
vendor/bin/ecs check src