安装aplayer以及dplayer

plaintext
1
2
3
npm install hexo-tag-aplayer

npm install hexo-tag-dplayer

插入视频

plaintext
1
{% dplayer "url=https://pan.w2aa.ml/api/raw/?path=/MV/20220411112859.mp4"  "pic=https://pan.w2aa.ml/api/raw/?path=/img/1021152.jpg" "loop=yes" "theme=#FADFA3" "autoplay=false" "token=tokendemo" %}
Set danmaku color
Set danmaku type
0:00 / 0:00
Speed
Loop
Show danmaku
Unlimited danmaku
Opacity for danmaku
0.5
0.75
Normal
1.25
1.5
2
[x]
Player version
Player FPS
Video type
Video url
Video resolution
Video duration
Video load failed

插入音乐

plaintext
1
{% aplayer "歌曲名称" "作者" "音乐_url" "封面图片_url" "autoplay" %}
晚风心里吹 - 阿梨粤
00:00 / 00:00
An audio error has occurred.
  1. 1 晚风心里吹 阿梨粤

插入网易云音乐

plaintext
1
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=1929370102&auto=1&height=66"></iframe>

插入youtube视频

plaintext
1
<iframe width="560" height="315" src="https://www.youtube.com/embed/Qpf26PtBXgo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>