Add initial zoom support.

This commit is contained in:
Dermot Duffy
2023-04-22 16:32:11 -07:00
parent e67d7d61f3
commit 705afaca99
20 changed files with 582 additions and 138 deletions
+6
View File
@@ -71,6 +71,12 @@ customElements.whenDefined('ha-camera-stream').then(() => {
this._player?.seek(seconds);
}
public async setControls(controls: boolean): Promise<void> {
if (this._player) {
this._player.setControls(controls);
}
}
/**
* Master render method.
* @returns A rendered template.