Embed bilibili videos in Hexo posts/pages
This is a Hexo tag plugin for embeded Bilibili videos in posts/pages
npm install --save hexo-tag-bilibili
The full tag format is as follows:
{% bilibili [av_id] %}
or
{% bilibili [av_id] [page] %}
example:
{% bilibili 2333333 3 %}
You can configure the type, autoplay and size in your main _config.yml:
Example configuration:
bilibili:
width: 452
height: 544
The Video Clip is wrapped by a div with the class bili_video
. You can modify it in your theme's css files.
Copyright (c) 2015, Z4Tech. Licensed under the MIT license.