fix MV player
This commit is contained in:
parent
309a20620f
commit
5f6bc36e80
6 changed files with 50339 additions and 12 deletions
|
@ -83,9 +83,9 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"build": {
|
"build": {
|
||||||
"electronVersion": "15.3.1",
|
"electronVersion": "15.3.3",
|
||||||
"electronDownload": {
|
"electronDownload": {
|
||||||
"version": "15.3.1-wvvmp",
|
"version": "15.3.3-wvvmp",
|
||||||
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
|
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
|
||||||
},
|
},
|
||||||
"appId": "cider",
|
"appId": "cider",
|
||||||
|
|
31028
resources/cider-ui-tests/apple-hls.js
Normal file
31028
resources/cider-ui-tests/apple-hls.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -268,11 +268,12 @@ const app = new Vue({
|
||||||
} else {
|
} else {
|
||||||
document.getElementById("apple-music-video-container").style.display = "none";
|
document.getElementById("apple-music-video-container").style.display = "none";
|
||||||
// app.chrome.topChromeVisible = true
|
// app.chrome.topChromeVisible = true
|
||||||
}
|
|
||||||
self.chrome.artworkReady = false
|
self.chrome.artworkReady = false
|
||||||
self.lyrics = []
|
|
||||||
app.getNowPlayingArtwork(42);
|
app.getNowPlayingArtwork(42);
|
||||||
app.getNowPlayingArtworkBG(32);
|
app.getNowPlayingArtworkBG(32);
|
||||||
|
}
|
||||||
|
self.lyrics = []
|
||||||
app.loadLyrics()
|
app.loadLyrics()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -499,7 +500,7 @@ const app = new Vue({
|
||||||
|
|
||||||
},
|
},
|
||||||
exitMV() {
|
exitMV() {
|
||||||
MusicKit.getInstance().stop()
|
MusicKit.getInstance().stop();
|
||||||
document.getElementById("apple-music-video-container").style.display = "none";
|
document.getElementById("apple-music-video-container").style.display = "none";
|
||||||
},
|
},
|
||||||
getArtistInfo(id, isLibrary) {
|
getArtistInfo(id, isLibrary) {
|
||||||
|
|
19293
resources/cider-ui-tests/musickit.js
Normal file
19293
resources/cider-ui-tests/musickit.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2401,3 +2401,7 @@ div#captions {
|
||||||
.item-navigate:hover {
|
.item-navigate:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apple-music-video-player{
|
||||||
|
position:relative;
|
||||||
|
z-index:10000}
|
|
@ -381,8 +381,9 @@
|
||||||
<%- include("svg/fullscreen.svg") %>
|
<%- include("svg/fullscreen.svg") %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="apple-music-video-player"></div>
|
<div ></div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <apple-music-video-player></apple-music-video-player> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%- include("components/mediaitem-artwork"); %>
|
<%- include("components/mediaitem-artwork"); %>
|
||||||
|
@ -501,7 +502,7 @@
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
|
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
|
||||||
<script src="https://js-cdn.music.apple.com/musickit/v2/amp/musickit.js"></script>
|
<script src="musickit.js?v=1"></script>
|
||||||
<script src="index.js?v=1"></script>
|
<script src="index.js?v=1"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Add table
Add a link
Reference in a new issue