public/plugins/wxeditor/ueditor/dialogs/music/show.html
(完整代码) 1KB<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>音乐播放</title>
<link rel="stylesheet" href="wx.css?20220303" media="all">
<script type="text/javascript" src="h5Audio.js?20220303"></script>
<style>
html, body { height: 100%; }
</style>
</head>
<body>
<mpvoice id="musicId"></mpvoice>
<script>
(function () {
function getParam(name) {
return location.href.match(new RegExp('[?#&]' + name + '=([^?#&]+)', 'i')) ? RegExp.$1 : '';
}
// var widthParam = getParam('width');
var titleParam = decodeURIComponent(getParam('title'));
var srcParam = decodeURIComponent(getParam('src'));
var discParam = decodeURIComponent(getParam('disc'));
var autoParam = getParam('auto');
var loopParam = getParam('loop');
new h5Audio({
ele: document.getElementById('musicId'),
title: titleParam,
disc: discParam,
src: srcParam,
width: "100%",
autoplay: autoParam > 0,
loop: loopParam > 0,
});
})();
</script>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。