About play music

100062114100062114 Member Posts: 13

I want to generate a button which can control play music.
When I click it, the music will pause.
If I click again, the music will continue to play.
However, I encountered a promble:

When I click it, it will automatically change constantly betwen play and pause.
It is the same after I added the timer.

How can I fix this promble?Thanks.

Comments

Sign In or Register to comment.