That has been what I have been aiming towards for many months, however for a standard camera view it is better to use a URL, because many people will want to use Blue Iris, Motion, or any other number of software to process the camera with and not the binding. When it comes to PTZ or a history of recent recordings, then that is different and the binding has been written to leverage things that hopefully will come together over time.
Here’s another piece of code that is probably the closet I have come to what I want. It requires a hard coded widget for each camera on top of this. Still playing to see what the best method will be.
uid: ModalCamera timestamp: Dec 13, 2020, 11:05:28 PM component: f7-card config: class: - oh-cell slots: default: - component: oh-button config: action: popup actionModal: widget:SingleCamera style: color: transparent padding: 75px background-image: url(http://192.168.1.2:54321/autofps.mjpeg) background-size: cover background-repeat: no-repeat background-position: center