Angular player bar. Not working properly