Files
APlayer/demo/index.html
T

27 lines
849 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>AnotherPlayer Demo</title>
<link rel="stylesheet" href="../APlayer.css">
</head>
<body>
<div id="player1" class="aplayer">
<div style="padding: 10px; font-size: 10px; text-align: center;">(>﹏<) APlayer 加载中,好累的说...</div>
</div>
<script src="../APlayer.js"></script>
<script>
var ap = new APlayer({
element: document.getElementById('player1'),
autoplay: false,
music: {
title: 'Preparation',
author: 'Hans Zimmer/Richard Harvey',
url: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.mp3',
pic: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.jpg'
}
});
ap.init();
</script>
</body>
</html>