Only show the microphone button when the loaded media supports 2-way audio.
This commit is contained in:
@@ -93,7 +93,7 @@ customElements.whenDefined('ha-web-rtc-player').then(() => {
|
||||
hideMediaControlsTemporarily(this._video, MEDIA_LOAD_CONTROLS_HIDE_SECONDS);
|
||||
}}
|
||||
@loadeddata=${(e) => {
|
||||
dispatchMediaLoadedEvent(this, e);
|
||||
dispatchMediaLoadedEvent(this, e, { player: this });
|
||||
}}
|
||||
></video>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user