文章插入Aplayer播放器报错解决方案

2022-02-25 09:04:21 浏览数 (1)

Aplayer报错解决方案

hexo - g 报错如下:

代码语言:javascript复制
INFO  Start processing
Error: [hexo-tag-aplayer] Meting support is disabled, cannot resolve the meting tags properly.
    at throwError (E:Node_JS_Hexonode_moduleshexo-tag-aplayercommonutil.js:18:9)
    at Object.<anonymous> (E:Node_JS_Hexonode_moduleshexo-tag-aplayerindex.js:160:28)
    at NunjucksTag._run (E:Node_JS_Hexonode_moduleshexolibextendtag.js:120:18)
    at NunjucksTag.run (E:Node_JS_Hexonode_moduleshexolibextendtag.js:116:15)
    at Template.root [as rootRenderFunc] (eval at _compile (E:Node_JS_Hexonode_modulesnunjuckssrcenvironment.js:617:18), <anonymous>:29:66)
    ......

请在 Hexo 配置文件 _config.yml 中设置即可: (切记是hexo的配置文件,不是themes文件夹里面的)

代码语言:javascript复制
aplayer:
  meting: true

请不要配置:(这个是给Meting.js用的,Aplayer误设置会导致变成空白的)

代码语言:javascript复制
aplayer:
  asset_inject: false

0 人点赞