diff --git a/src/renderer/views/components/animatedartwork-view.ejs b/src/renderer/views/components/animatedartwork-view.ejs
index ef091ee3..8236252f 100644
--- a/src/renderer/views/components/animatedartwork-view.ejs
+++ b/src/renderer/views/components/animatedartwork-view.ejs
@@ -43,7 +43,7 @@
this.hls.detachMedia();
} else {
- this.hls = new CiderHls(config);
+ this.hls = new Hls(config);
}
// bind them together
if (this.$refs.video) {
@@ -59,7 +59,7 @@
}
this.hls.attachMedia(this.$refs.video);
- this.hls.loadSource(this.video);
+ this.hls.loadSource(this.video, p);
let u = this.hls;
var quality = app.cfg.visual.animated_artwork_qualityLevel;
setTimeout(() => {
diff --git a/src/renderer/views/main.ejs b/src/renderer/views/main.ejs
index 6c7c192f..fa72d902 100644
--- a/src/renderer/views/main.ejs
+++ b/src/renderer/views/main.ejs
@@ -2,123 +2,133 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
Cider
- " type="text/css" href="style.<%- (env.dev ? "css" : "less") %>"/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ " type="text/css" href="style.<%- (env.dev ? "css"
+ : "less" ) %>"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+ #LOADER>svg {
+ width: 128px;
+ }
+
+ @media (prefers-color-scheme: light) {
+ #LOADER {
+ background-color: #eee;
+ }
+ }
+
-
-
-
-
-
-
-
-
-
-
-
- <%- include("../assets/cider-round.svg") %>
-
-
-
-
- <%- include('app/chrome-top'); %>
- <%- include('app/app-navigation'); %>
- <%- include('app/chrome-bottom'); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%- include('app/panels'); %>
-
-
+ platform="<%= env.platform %>">
+
+
+
+
+
+
+
+
+
+
-<% for(var i = 0; i < Object.keys(env.components).length ; i++) { %>
- <%- include(env.components[i]); %>
-<% } %>
+
+ <%- include("../assets/cider-round.svg") %>
+
+
+
+
+ <%- include('app/chrome-top'); %>
+ <%- include('app/app-navigation'); %>
+ <%- include('app/chrome-bottom'); %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%- include('app/panels'); %>
+
+
-
-
+ <% for(var i=0; i < Object.keys(env.components).length ; i++) { %>
+ <%- include(env.components[i]); %>
+ <% } %>
-
+
+
+