Hi there :) I would recommend not making the wheel twice :p Just take a look at this player and contribute to it if you want to :) Simple and elegant https://github.com/Selz/plyr or https://plyr.io/ It has a lot of functionnality and i very easy to use :) Cheerz