fix MV player
This commit is contained in:
parent
309a20620f
commit
5f6bc36e80
6 changed files with 50339 additions and 12 deletions
|
@ -263,16 +263,17 @@ const app = new Vue({
|
|||
let type = (self.mk.nowPlayingItem != null) ? self.mk.nowPlayingItem["type"] ?? '' : '';
|
||||
|
||||
if (type.includes("musicVideo") || type.includes("uploadedVideo")) {
|
||||
document.getElementById("apple-music-video-container").style.display = "block";
|
||||
// app.chrome.topChromeVisible = false
|
||||
document.getElementById("apple-music-video-container").style.display = "block";
|
||||
// app.chrome.topChromeVisible = false
|
||||
} else {
|
||||
document.getElementById("apple-music-video-container").style.display = "none";
|
||||
// app.chrome.topChromeVisible = true
|
||||
// app.chrome.topChromeVisible = true
|
||||
self.chrome.artworkReady = false
|
||||
|
||||
app.getNowPlayingArtwork(42);
|
||||
app.getNowPlayingArtworkBG(32);
|
||||
}
|
||||
self.chrome.artworkReady = false
|
||||
self.lyrics = []
|
||||
app.getNowPlayingArtwork(42);
|
||||
app.getNowPlayingArtworkBG(32);
|
||||
app.loadLyrics()
|
||||
})
|
||||
|
||||
|
@ -499,7 +500,7 @@ const app = new Vue({
|
|||
|
||||
},
|
||||
exitMV() {
|
||||
MusicKit.getInstance().stop()
|
||||
MusicKit.getInstance().stop();
|
||||
document.getElementById("apple-music-video-container").style.display = "none";
|
||||
},
|
||||
getArtistInfo(id, isLibrary) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue