Update query selector for modern webrtc-camera >= 3.0.0.
This commit is contained in:
1 parent
1b055b204e
commit
5035af6239
1 file changed
+1
-1
@@ -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<
|
||||
|
||||
Reference in new issue
Block a user