From f47ecb63dfff5d5e50ee1cd9c259c1e6fcb3cf20 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Fri, 20 Oct 2023 16:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E7=89=88=E6=9C=ACv1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.html | 8 ++++---- docs/player.js | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/index.html b/docs/index.html index 63bc5f9..889217a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,8 +5,8 @@ Gmemp - - + +
@@ -45,7 +45,7 @@
- - + + diff --git a/docs/player.js b/docs/player.js index 28c38f9..0dd7bb8 100644 --- a/docs/player.js +++ b/docs/player.js @@ -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) { @@ -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);