Fixes unmounted Audio objects hanging around. It also cleans up all the conditionals in HTML5 and moves all the complexities of handling the audio object to its own component.
I inherited from HTML5. I'm open to a different way of code sharing, but I felt this was the most direct and understandable.
Fixes unmounted Audio objects hanging around. It also cleans up all the conditionals in HTML5 and moves all the complexities of handling the audio object to its own component.
I inherited from
HTML5
. I'm open to a different way of code sharing, but I felt this was the most direct and understandable.Before
After