mgtv - 素材

当前位置:Gxlcms > 播放器 > js+mp3在线试听音乐播放器代码

js+mp3在线试听音乐播放器代码

时间:2021-07-01 10:21:17 帮助过:0人阅读

js+mp3在线试听音乐播放器代码 js+mp3在线试听音乐播放器代码是一款适用于在线试听音乐网站播放器代码。
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>js+mp3在线试听音乐播放器代码 - mgtv素材</title>

<link rel="stylesheet" href="css/smusic.css">

</head>
<body>

<div class="grid-music-container f-usn">
    <div class="m-music-play-wrap">
        <div class="u-cover"></div>
        <div class="m-now-info">
            <h1 class="u-music-title"><small>...</small><small>...</small></h1>
            <div class="m-now-controls">
                <div class="u-control u-process">
                    <span class="buffer-process"></span>
                    <span class="current-process"></span>
                </div>
                <div class="u-control u-time">00:00/00:00</div>
                <div class="u-control u-volume">
                    <div class="volume-process" data-volume="0.50">
                        <span class="volume-current"></span>
                        <span class="volume-bar"></span>
                        <span class="volume-event"></span>
                    </div>
                    <a class="volume-control"></a>
                </div>
            </div>
            <div class="m-play-controls">
                <a class="u-play-btn prev" title="上一曲"></a>
                <a class="u-play-btn ctrl-play play" title="暂停"></a>
                <a class="u-play-btn next" title="下一曲"></a><br>
               
            </div>
        </div>
    </div>
    <div class="f-cb">&nbsp;</div>
    <div class="m-music-list-wrap"></div>
</div>

<script src="js/smusic.min.js"></script>
<script>
var musicList = [
	{
		title : '衡越',
		singer : '圆梦',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '李琼',
		singer : '山路十八弯',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},	
	{
		title : '衡越',
		singer : '圆梦',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '李琼',
		singer : '山路十八弯',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '衡越',
		singer : '圆梦',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '李琼',
		singer : '山路十八弯',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '衡越',
		singer : '圆梦',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '李琼',
		singer : '山路十八弯',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '衡越',
		singer : '圆梦',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '李琼',
		singer : '山路十八弯',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '衡越',
		singer : '圆梦',
		cover  : '',
		src    : 'mp3/10714.mp3'
	},
	{
		title : '李琼',
		singer : '山路十八弯',
		cover  : '',
		src    : 'mp3/10714.mp3'
	}
];
new SMusic({
	musicList:musicList
});
</script>


</div>
</body>