Title: Play and Stop Button
Last modified: August 30, 2016

---

# Play and Stop Button

 *  [Ace_Eca](https://wordpress.org/support/users/ace_eca/)
 * (@ace_eca)
 * [11 years ago](https://wordpress.org/support/topic/play-and-stop-button/)
 * Hi,
    The player is great, but im trying to add a play and stop button beside 
   the player as you have in your demo site – but is does not seem to play/stop 
   when the buttons are clicked: Here is the code:
 * [Title](https://wordpress.org/support/topic/play-and-stop-button/xxxx.mp3?output_format=md)
   
   <button onclick=”$(‘#m1’).mb_miniPlayer_stop()”>stop</button> <button onclick
   =”$(‘#m1’).mb_miniPlayer_play()”>play</button> The buttons have no action once
   clicked, any ideas? Thanks,
 * [https://wordpress.org/plugins/wp-miniaudioplayer/](https://wordpress.org/plugins/wp-miniaudioplayer/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [pupunzi](https://wordpress.org/support/users/pupunzi/)
 * (@pupunzi)
 * [11 years ago](https://wordpress.org/support/topic/play-and-stop-button/#post-6397114)
 * Hi,
    I should see the page where this happens; do you have an URL where I can
   check for this issue? Anyway…:
    - Are you sure the ID of the player you are referring to is “m1”?
    - Do you have any error on your javascript console?
 * Bye,
    Matteo

Viewing 1 replies (of 1 total)

The topic ‘Play and Stop Button’ is closed to new replies.

 * ![](https://ps.w.org/wp-miniaudioplayer/assets/icon.svg?rev=983692)
 * [mb.miniAudioPlayer - an HTML5 audio player for your mp3 files](https://wordpress.org/plugins/wp-miniaudioplayer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-miniaudioplayer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-miniaudioplayer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-miniaudioplayer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-miniaudioplayer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-miniaudioplayer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [pupunzi](https://wordpress.org/support/users/pupunzi/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/play-and-stop-button/#post-6397114)
 * Status: not resolved