It wasn’t easy to use local variable in abstraction but once you understand, it’s just piece of cake :p. After some trial and error finally I manage to create my own abstraction of my audio player. We can use multiple player and also multiple audio in each player.