Dynamically extract dimensions from loaded media.

This commit is contained in:
Dermot Duffy
2021-09-23 20:38:39 -07:00
parent c75e99e09c
commit e3ccbb0787
13 changed files with 312 additions and 44 deletions
+5
View File
@@ -4,4 +4,9 @@ ha-hls-player {
img,video {
width: 100%;
height: 100%;
display: block;
}
div {
// Keep the controls positioned relative to the video.
position: relative;
}