Skip to content
A simple plugin for inserting cPlayer by using tags in Hexo.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshoot
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
mplayer-template.html
package.json

README.md

hexo-tag-mplayer

npm Travis GitHub license David David FOSSA Status

Screenshoot

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

OPTION default content description
playlist [] Playlist.
autoplay false Autoplay (mobile is not available).
volume 1 Default volume.
playmode listloop Default play mode.
big false Default player size.
dark false Default player theme.

For more details, visit CPlayer Demo here.

Thanks

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

License

FOSSA Status

You can’t perform that action at this time.