Stream Player implements the HTML5
<video> element functions, you can play, pause, mute videos, adjust the player volume and seek throughout the video playhead position.
You can also add event listeners that will run in response to player events, such as a player state change or a video playback quality change. The stream element supports majority of the HTML5 Video API, which contains a wide range of events throughout the player lifecycle.
The sample HTML below will create a Stream player and after you press play, video will play for 5 seconds and pause.
below is the code we've used to create the player above: