Skip to content

Commit

Permalink
发布版本v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Meekdai committed Oct 20, 2023
1 parent 7d40031 commit f47ecb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="icon" href="https://meekdai.com/favicon.svg">
<title>Gmemp</title>
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@main/docs/player.css"> -->
<link rel="stylesheet" href="./player.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@v1.0/docs/player.css">
<!-- <link rel="stylesheet" href="./player.css"> -->
</head>
<body>
<div id="title">
Expand Down Expand Up @@ -45,7 +45,7 @@
</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/howler.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@main/docs/player.js"></script> -->
<script src="./player.js"></script>
<script src="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@v1.0/docs/player.js"></script>
<!-- <script src="./player.js"></script> -->
</body>
</html>
4 changes: 1 addition & 3 deletions docs/player.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// Cache references to DOM elements.
let elms = ['track', 'timer', 'duration','post', 'playBtn', 'pauseBtn', 'prevBtn', 'nextBtn', 'playlistBtn', 'postBtn', 'waveBtn', 'volumeBtn', 'progress', 'progressBar','waveCanvas', 'loading', 'playlist', 'list', 'volume', 'barEmpty', 'barFull', 'sliderBtn'];
elms.forEach(function(elm) {
Expand All @@ -8,8 +7,7 @@ elms.forEach(function(elm) {
let player;
let playNum=0;
let media="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@main/media/"
let requestJson="https://cdn.jsdelivr.net/gh/Meekdai/Gmemp@main/docs/memp.json"
// let requestJson="https://music.meekdai.com/memp.json"
let requestJson="https://music.meekdai.com/memp.json"

let request=new XMLHttpRequest();
request.open("GET",requestJson);
Expand Down

0 comments on commit f47ecb6

Please sign in to comment.