Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Meiderwijk committed Apr 9, 2021
2 parents 5e9e24f + b466143 commit 9e43e05
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@

Author: Dennis Meiderwijk, Bob den Otter

[Todo]
A lightweight extension to display Youtube and Vimeo embeds.

Installation:

```bash
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](https://github.com/luwes) for his [lite-vimeo-embed](https://github.com/luwes/lite-vimeo-embed) and
[paulirish](https://github.com/paulirish) for his [lite-youtube-embed](https://github.com/paulirish/lite-youtube-embed) .

## Running PHPStan and Easy Codings Standard

Expand Down

0 comments on commit 9e43e05

Please sign in to comment.