Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

D-Sketon/hexo-midijs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

23 Commits

Repository files navigation

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

About

A hexo plugin to play midi files by MIDIjs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /