Update query selector for modern webrtc-camera >= 3.0.0.
This commit is contained in:
@@ -89,7 +89,7 @@ export class FrigateCardLiveWebRTCCard extends LitElement {
|
|||||||
* @returns The player or `null` if not found.
|
* @returns The player or `null` if not found.
|
||||||
*/
|
*/
|
||||||
protected _getPlayer(): HTMLVideoElement | null {
|
protected _getPlayer(): HTMLVideoElement | null {
|
||||||
return this.renderRoot?.querySelector('#video') as HTMLVideoElement | null;
|
return this.renderRoot?.querySelector('video') as HTMLVideoElement | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async _getWebRTCCardElement(): Promise<
|
protected async _getWebRTCCardElement(): Promise<
|
||||||
|
|||||||
Reference in New Issue
Block a user