Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/welksonramos/hexo-tag-xvideos

:underage: Embed xvideos player in your Hexo posts/pages
https://github.com/welksonramos/hexo-tag-xvideos

hexo hexo-plugin

Last synced: about 2 months ago
JSON representation

:underage: Embed xvideos player in your Hexo posts/pages

Awesome Lists containing this project

README

        

# Hexo-tag-Xvideos

[![npm version](https://img.shields.io/npm/v/hexo-tag-xvideos.svg)](https://www.npmjs.com/package/hexo-tag-xvideos) [![license](https://img.shields.io/npm/l/hexo-tag-xvideos.svg?style=flat)](https://raw.github.com/welksonramos/hexo-tag-xvideos/blob/master/LICENSE)

> Embeded [Xvideos](https://xvideos.com) player in Hexo posts/pages ( ͡° ͜ʖ ͡°)

## Installation

```bash
npm install --save hexo-tag-xvideos
```

## Usage

The full tag format is as follows:

```bash
{% xvideos [video_id [width [height]]] %}
```
Simple example:

```bash
{% xvideos 9764591 %}
```

## Options

You can configure the size of the video player in your main _config.yml:

Example configuration:

```yml
xvideos:
width: 510 (default)
height: 400 (default)
```

## License

© Licensed under the MIT License.