Need help with hls player

I am using dreamers hls player extension but i don’t like a preadded controls then I build my own controls but i am facing click or touch listener issue because I want to hide and unhide controls for better user experience.

Can anyone suggest me a better click listener which supports a m3u8 player overlay ?