Use media_browser websockets.

This commit is contained in:
Dermot Duffy
2021-08-28 20:56:06 -07:00
parent abde9bacda
commit b1ab849981
4 changed files with 299 additions and 189 deletions
+12 -2
View File
@@ -3,18 +3,26 @@
.frigate-card-contents {
width: 100%;
max-height: 277px; /* Max Lovelace 16/9 video height */
height: 100%;
aspect-ratio: 16 / 9;
}
.frigate-card-viewer {
width: 100%;
max-height: 277px; /* Max Lovelace 16/9 video height */
height: 100%;
aspect-ratio: 16 / 9;
}
.frigate-card-gallery {
overflow: auto;
max-height: 277px; /* Max Lovelace 16/9 video height */
-ms-overflow-style: none; /* Hide scrollbar: IE and Edge */
scrollbar-width: none; /* Hide scrollbar: Firefox */
height: 100%;
aspect-ratio: 16 / 9;
}
/* Hide scrollbar for Chrome, Safari and Opera */
@@ -26,6 +34,8 @@
display: flex;
justify-content: center;
align-items: center;
padding: 0% 5% 0% 5%;
height: 100%;
}