hexo-tag-xvideos

Embed xvideos player in Hexo posts/pages

Usage no npm install needed!

<script type="module">
  import hexoTagXvideos from 'https://cdn.skypack.dev/hexo-tag-xvideos';
</script>

README

Hexo-tag-Xvideos

npm version license

Embeded Xvideos player in Hexo posts/pages ( ͡° ͜ʖ ͡°)

Installation

npm install --save hexo-tag-xvideos

Usage

The full tag format is as follows:

{% xvideos [video_id [width [height]]] %}

Simple example:

{% xvideos 9764591 %}

Options

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

Example configuration:

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

License

© Licensed under the MIT License.