Building an Audio Player in React

In December 2018, Google changed their autoplay policy regarding web audio, requiring the user to interact with the page before any audio is played. There are some exceptions to this based on user preferences (and also some potential workarounds involving the use of iframes), but in the interest of having a cool load screen I’ll show you how I tied that into enabling autoplay in my latest project.

Cool, right???
Please don’t judge me.
Make sure to also pass the handleEnter method to the load screen so our enter button can use it.

Frontend Developer/UI Designer in Austin, TX