This commit is contained in:
杜恒
2021-06-02 10:51:23 +08:00
parent 1646a276ce
commit 5109ccbeed
4 changed files with 6 additions and 6 deletions

View File

@@ -71,11 +71,11 @@ document.addEventListener('DOMContentLoaded', () => {
render() {
if (!this.options.id) return (this.innerHTML = '网易云歌曲ID未填写');
this.innerHTML = '<span style="display: block" class="_content"></span>';
fetch('https://api.i-meto.com/meting/api?server=netease&type=song&id=' + this.options.id).then(async response => {
fetch('https://vvhan.com/usr/themes/Joe/NeteaseCloudMusicApi.php?id=' + this.options.id).then(async response => {
const audio = await response.json();
new APlayer({
container: getChildren(this, '_content'),
lrcType: 3,
lrcType: 1,
theme: this.options.color,
autoplay: this.options.autoplay,
audio

File diff suppressed because one or more lines are too long