Here we create video player controls in React using XState. We'll cover nested states, actions, context, and how to interact with the video element.
Code available at: https://github.com/leighhalliday/video-state-machine/blob/master/src/App.js
Artwork by James Gilleard - https://www.artstation.com/jamesgilleard