bolt/lite-embed

📹 A Bolt extension for Lite Youtube and Vimeo Embeds

Installs: 164

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:bolt-extension

1.0.2 2021-05-12 05:19 UTC

This package is auto-updated.

Last update: 2022-11-12 08:53:23 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