bolt/lite-embed
最新稳定版本:1.0.2
Composer 安装命令:
composer require bolt/lite-embed
包简介
📹 A Bolt extension for Lite Youtube and Vimeo Embeds
README 文档
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
统计信息
- 总下载量: 497
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-09