๐Ÿ“ฆ D-Sketon / hexo-midijs

A hexo plugin to play midi files by MIDIjs.

โ˜… 4 stars โ‘‚ 0 forks ๐Ÿ‘ 4 watching โš–๏ธ MIT License
hexohexo-pluginmidimidi-playermidijs
๐Ÿ“ฅ Clone https://github.com/D-Sketon/hexo-midijs.git
HTTPS git clone https://github.com/D-Sketon/hexo-midijs.git
SSH git clone git@github.com:D-Sketon/hexo-midijs.git
CLI gh repo clone D-Sketon/hexo-midijs
D-Sketon D-Sketon feat: add CSS link to template and update version 4e9ba6b 11 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ lib
๐Ÿ“ source
๐Ÿ“ test
๐Ÿ“„ .gitignore
๐Ÿ“„ index.js
๐Ÿ“„ LICENSE
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ README.md

hexo-minecraft-skin-viewer

NPM License NPM Version NPM Downloads

A hexo plugin to play MIDI files by MIDIjs.

About midijs http://www.midijs.net/

Since midijs cannot play multiple MIDI files at the same time, hexo-midijs may not be stable enough.

Install

$ npm install hexo-midijs --save

Usage

{% midijs url [width=85%] [...other args] %}
{% endmidijs %}

e.g.

{% midijs './Smoking Dragon.mid' '400px' %}
{% endmidijs %}

url

The url of the MIDI file (required)

width

The width of the player (optional,default 85%)

other args

Other arguments will be attached to the inserted script tag. For example, you can insert attributes such as data-pjax

Example

Demo