From 3c01b510b8c7ab1d5079b93309db5bbe78c31d9b Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 14 Jan 2024 11:36:47 +0800 Subject: [PATCH] [feat] audio: netease --- scripts/tags/lib/audio.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/tags/lib/audio.js b/scripts/tags/lib/audio.js index e9fe287..a86f848 100644 --- a/scripts/tags/lib/audio.js +++ b/scripts/tags/lib/audio.js @@ -9,14 +9,19 @@ 'use strict'; module.exports = ctx => function(args) { - args = ctx.args.map(args, ['type'], ['src']) - if (args.type == null) { - args.type = 'audio/mp3' + args = ctx.args.map(args, ['type', 'netease', 'autoplay'], ['src']) + if (args.netease) { + return ` +
+ +
+ ` } return `
`