Initial version of status bar.
This commit is contained in:
@@ -98,7 +98,10 @@ customElements.whenDefined('ha-camera-stream').then(() => {
|
||||
return html`
|
||||
<img
|
||||
@load=${(ev: Event) => {
|
||||
dispatchMediaLoadedEvent(this, ev, { player: this });
|
||||
dispatchMediaLoadedEvent(this, ev, {
|
||||
player: this,
|
||||
technology: ['mjpeg'],
|
||||
});
|
||||
}}
|
||||
.src=${typeof this._connected == 'undefined' || this._connected
|
||||
? computeMJPEGStreamUrl(this.stateObj)
|
||||
|
||||
Reference in New Issue
Block a user