hexo-tag-vine

Embed your vine videos in Hexo posts/pages

Usage no npm install needed!

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

README

About

This is a Hexo tag plugin for embeded your Vine videos in posts/pages

Installation

npm install --save hexo-tag-vine

Usage

The full tag format is as follows:

{% vine [video_id [size]]%}

Simple example:

{% vine eHYVhiUT2tF %}

Configuration

You can configure the type, autoplay and size in your main _config.yml:

Allowed values are:

  1. type
  • simple (default)
  • postcard
  1. autoplay
  • false (default)
  • true
  1. size
  • 300
  • 480
  • 600 (default)

Example configuration:

vine:
  type: simple
  autoplay: false
  size: 480

License

Copyright (c) 2015, Welkson Ramos. Licensed under the MIT license.