Ga naar hoofdinhoud
Logo Appt Light

Audio control on Xamarin

Users should be able to control audio whenever it plays automatically. This includes being able to reduce the volume to zero. It's difficult to hear speech output of the screen reader users when other audio is playing at the same time.

In Xamarin apps you should always be able to control audio. You can use MediaElement to embed media. The ShowsPlaybackControls needs to be set to True to show controls for playing and pausing. The value is False by default.

<MediaElement Source="https://appt.org/video.mp4"
              ShowsPlaybackControls="True" />
Bijdragen

Feedback?

Laat 't ons weten!