Only show the microphone button when the loaded media supports 2-way audio.
This commit is contained in:
@@ -97,7 +97,7 @@ customElements.whenDefined('ha-hls-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