NetEase Cloud Music

Shortcode to embed NetEase cloud music player into Markdown content, which support playlist, album and single song.

Syntax

1{{< netease-cloud-music >}}

Parameters

id

PositionNameTypeRequiredDefaultSince
#0idnumber--

The ID of playlist, album or song.

type

PositionNameTypeRequiredDefaultSince
#1typestring-playlist-

Type.

Available options: playlist, album, song.

auto

PositionNameTypeRequiredDefaultSince
#2autoboolean-false-

Auto play if true.

title

PositionNameTypeRequiredDefaultSince
#3titlestring---

The title of frame.

height

PositionNameTypeRequiredDefaultSince
-heightnumber---

The height of player, default to 66 for song, 310 for others.

width

PositionNameTypeRequiredDefaultSince
-widthnumber-100%-

The width of player.

Examples

Song Auto Play with Title

Source
1{{< netease-cloud-music 1978593877 song true "Forget (Slowed Down) - Storm Lake" >}}
Result

Song with Width, Height and Title

Source
1{{< netease-cloud-music id=1367381077 type=song height=80 width=500 title="Exil - Hiboky" >}}
Result

Playlist

Source
1{{< netease-cloud-music 8271208484 >}}
Result

Album

Source
1{{< netease-cloud-music 92935930 album >}}
Result