Revert "fix MV player"

This reverts commit 5f6bc36e80.
This commit is contained in:
vapormusic 2021-12-11 09:43:12 +07:00
parent 5f6bc36e80
commit 83e77146f0
6 changed files with 12 additions and 50339 deletions

View file

@ -83,9 +83,9 @@
}
],
"build": {
"electronVersion": "15.3.3",
"electronVersion": "15.3.1",
"electronDownload": {
"version": "15.3.3-wvvmp",
"version": "15.3.1-wvvmp",
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
},
"appId": "cider",

File diff suppressed because it is too large Load diff

View file

@ -268,12 +268,11 @@ const app = new Vue({
} else {
document.getElementById("apple-music-video-container").style.display = "none";
// app.chrome.topChromeVisible = true
}
self.chrome.artworkReady = false
self.lyrics = []
app.getNowPlayingArtwork(42);
app.getNowPlayingArtworkBG(32);
}
self.lyrics = []
app.loadLyrics()
})
@ -500,7 +499,7 @@ const app = new Vue({
},
exitMV() {
MusicKit.getInstance().stop();
MusicKit.getInstance().stop()
document.getElementById("apple-music-video-container").style.display = "none";
},
getArtistInfo(id, isLibrary) {

File diff suppressed because it is too large Load diff

View file

@ -2401,7 +2401,3 @@ div#captions {
.item-navigate:hover {
text-decoration: underline;
}
apple-music-video-player{
position:relative;
z-index:10000}

View file

@ -381,9 +381,8 @@
<%- include("svg/fullscreen.svg") %>
</div>
</div>
<div ></div>
<div id="apple-music-video-player"></div>
</div>
<!-- <apple-music-video-player></apple-music-video-player> -->
</div>
<%- include("components/mediaitem-artwork"); %>
@ -502,7 +501,7 @@
</div>
</script>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<script src="musickit.js?v=1"></script>
<script src="https://js-cdn.music.apple.com/musickit/v2/amp/musickit.js"></script>
<script src="index.js?v=1"></script>
</body>
</html>