Refactor viewer to support other viewer players.

This commit is contained in:
Dermot Duffy
2023-03-18 13:56:55 -07:00
parent 5a48951874
commit 712713f60c
7 changed files with 285 additions and 290 deletions
-10
View File
@@ -1,14 +1,4 @@
@use 'media-layout.scss';
.embla__slide {
height: 100%;
flex: 0 0 100%;
}
.embla__slide img {
display: block;
width: 100%;
height: 100%;
@include media-layout.media-layout();
}
+21
View File
@@ -0,0 +1,21 @@
@use 'media-layout.scss';
:host {
display: block;
width: 100%;
height: 100%;
}
img,
frigate-card-ha-hls-player {
display: block;
width: 100%;
height: 100%;
@include media-layout.media-layout();
}
frigate-card-progress-indicator {
padding: 30px;
box-sizing: border-box;
}