Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Card Size in Panel View too big #689

Open
HidYn opened this issue Apr 19, 2024 · 0 comments
Open

Card Size in Panel View too big #689

HidYn opened this issue Apr 19, 2024 · 0 comments
Labels
question Further information is requested

Comments

@HidYn
Copy link

HidYn commented Apr 19, 2024

Hi All,

Hoping someone can point me in the right direction. I've added the WebRTC card to a dashboard via Panel View but the feed is too big for the screen and I have to scroll to view it all.

I'm using a Unifi G4 Doorbell Pro and the resolution is 1600x900 and should be 4:3 with bars.

type: custom:webrtc-camera
url: front_door
background: true

I've tried adding style: "video {aspect-ratio: 16/9; object-fit: fill;}" and style: "video {aspect-ratio: 1; object-fit: fill;}" but neither help and just end up either stretching or squashing the image.

Thanks in advance.

@AlexxIT AlexxIT added the question Further information is requested label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants