play

inline suspend fun HTMLMediaElement.play()(source)

The HTMLMediaElement play() method attempts to begin playback of the media. It returns a Promise which is resolved when playback has been successfully started.

MDN Reference