An open API service indexing awesome lists of open source software.

https://github.com/rknightuk/micro-blog-lite-youtube

A micro.blog plugin to append a lite-youtube embed at the end of any post that includes a YouTube link
https://github.com/rknightuk/micro-blog-lite-youtube

Last synced: 3 months ago
JSON representation

A micro.blog plugin to append a lite-youtube embed at the end of any post that includes a YouTube link

Awesome Lists containing this project

README

        

## Lite YouTube for Micro.blog

This plugin appends a [lite-youtube](https://github.com/paulirish/lite-youtube-embed) embed at the end of any post that includes a YouTube link (it also works with multiple links in one post).

### Example

**Before**:

![before](before.png)

**After**:

![after](after.png)

## Installation

1. Find [Lite YouTube for Micro.blog](https://micro.blog/account/plugins/view/83) in the plug-in directory
2. Install to the site you want to install to and press install
3. Ta-da! It's installed

### Configuration

1. Go to _plug-ins_ and pressing settings next to _Lite YouTube for Micro.blog_
2. Set the class name on the element for the posts on your blog
3. Click _Update Settings_

If your theme already includes the code below in the `head.html` file then everything should just work. If not, you can include the partial manually by adding the following to your `head.html` file under `Design > Edit Custom Themes > Your Theme`:

```
{{ partial "lite-youtube.html" . }}
```