Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 875 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 875 Bytes

Lite Embed Extension

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