feat: object-fit cover for fullscreen video + safe-area-aware controls (v0.5.0)

This commit is contained in:
2026-05-05 17:51:50 +00:00
parent 13a66dcee5
commit 7e549f9c96
2 changed files with 19 additions and 3 deletions
+3
View File
@@ -38,6 +38,9 @@ unlock_action: # optional — omit to hide the unlock button
entity_id: camera.doorbell_main
unlock_icon: mdi:key # optional, defaults to mdi:key
mode: webrtc # optional, passed through to webrtc-camera
object_fit: cover # optional, 'cover' (default) or 'contain' — controls
# whether the video crops to fill the viewport ('cover')
# or letterboxes to preserve the full frame ('contain')
```
A `panel: true` view works best: