Update query selector for modern webrtc-camera >= 3.0.0.

This commit is contained in:
Dermot Duffy
2023-02-12 19:22:03 -08:00
parent 1b055b204e
commit 5035af6239
+1 -1
View File
@@ -89,7 +89,7 @@ export class FrigateCardLiveWebRTCCard extends LitElement {
* @returns The player or `null` if not found.
*/
protected _getPlayer(): HTMLVideoElement | null {
return this.renderRoot?.querySelector('#video') as HTMLVideoElement | null;
return this.renderRoot?.querySelector('video') as HTMLVideoElement | null;
}
protected async _getWebRTCCardElement(): Promise<