This repository has been archived by the owner. It is now read-only.
📱 Embed your vine videos in Hexo posts/pages
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
LICENSE
index.js
package.json
readme.md

readme.md

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.