Music2024
1.Insert directly into an article
1.First, search for the music you want in NetEase Cloud Music, and then click to generate an external link player.
2.Then paste this code into the .md \text{.md}.md file of your article and it will be displayed.
3.JavaScript tag
2.Use Hexo-tag-Aplayer \text{Hexo-tag-Aplayer}Hexo-tag-Aplayer plugin
- npm install –save hexo-tag-aplayer
- Add it to the markdown document of the article
3.You can create a separate playlist page
- latest version hexo-tag-aplayer \text{hexo-tag-aplayer}hexo-tag-aplayer Already supported MetingJS \text{MetingJS}MetingJS的use,To directly parse the songs on the network platform, you must first enable the meting \text{meting}meting mode in the site configuration file, and add the following code at the end of the configuration file:
- aplayer:
meting: true
- Copy the link to the playlist, then copy the id of the playlist \text{id}id,例如 https://music.163.com/playlist?id=523845661&userid=46562117 ,The ID of this playlist is 523845661. The company name can be tencent, netease or other companies. Here is an example,打开 /Hexo/source/playlist/index.md文件,enter:
Dplayer
Example: video