mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
@@ -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
|
||||
|
||||
2
assets/js/joe.short.min.js
vendored
2
assets/js/joe.short.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user