Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions components/speechtotextbutton/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ The SpeechToTextButton component exposes several public methods that you can cal

>caption Example of Calling a Method by Reference

<div class="skip-repl"></div>
````RAZOR

````RAZOR.skip-repl
<TelerikSpeechToTextButton @ref="speechToTextButtonRef" />

@code {
Expand All @@ -52,6 +52,14 @@ The SpeechToTextButton component exposes several public methods that you can cal
}
````

## Limitations

When you use the SpeechToTextButton in the Edge browser or in a Blazor MAUI Hybrid App, the spoken language is not detected automatically. To ensure correct behavior, you must set the SpeechToTextButton `Lang` parameter. This is required because these environments do not follow the automatic language resolution described in the [MDN Web Speech API documentation](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/lang).

````RAZOR.skip-repl
<TelerikSpeechToTextButton Lang="en-US" />
````

## Supported Browsers

The SpeechToTextButton component relies on the Web Speech API. For a list of supported browsers, refer to the [Web Speech API documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API#browser_compatibility).
Expand Down