Attempts to play a remote sound asset when the runtime supports browser audio playback.
The sound asset URL to play.
Completes after playback attempt starts/completes or is skipped.
await SoundPlayer({ soundUrl: 'https://www.mediasfu.com/sounds/record-progress.mp3',}); Copy
await SoundPlayer({ soundUrl: 'https://www.mediasfu.com/sounds/record-progress.mp3',});
Attempts to play a remote sound asset when the runtime supports browser audio playback.