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 ` +