1.0.1 • Published 5 years ago

hexo-tag-mplayer v1.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

hexo-tag-mplayer

npm Travis GitHub license David David FOSSA Status

Insert cPlayer in Hexo by using tags.

Install

$ npm install hexo-tag-mplayer --save

Quick Start

{% mplayer %}
    playlist: [
        {
            name: 'Song name...',
            artist: 'Singer name...',
            src: 'Song resource link...',
            poster: 'Song Cover link...',
            lyric: 'Lyrics...',
            Sublyric: 'Deputy lyrics, generally for translation...'
        },
        {
            ...
        },
        ...
    ],
    autoplay: true,
    volume: 0.75,
    playmode: "listloop",
    big: true,
    dark: false
{% endmplayer %}

For more details, visit hexo-tag-mplayer Demo here.

Option

OPTIONdefault contentdescription
playlist[]Playlist.
autoplayfalseAutoplay (mobile is not available).
volume1Default volume.
playmodelistloopDefault play mode.
bigfalseDefault player size.
darkfalseDefault player theme.

For more details, visit CPlayer Demo here.

Thanks

Thanks for cPlayer & Inspired by hexo-tag-cplayer .

License

FOSSA Status

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-beta

5 years ago