Title: [Plugin: Audio Player] Missing stop method or button
Last modified: August 20, 2016

---

# [Plugin: Audio Player] Missing stop method or button

 *  [pkasa](https://wordpress.org/support/users/pkasa/)
 * (@pkasa)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-audio-player-missing-stop-method-or-button/)
 * We’re using the standalone version of the audioplayer. Very good results on both
   PC and smartphone, for both mp3 files and mp3 live streaming.
 * However, an important issue with mp3 live streaming: **there’s no stop button
   or method**. The streaming is just “paused” with the pause button and the buffer
   becomes full. A stop button is needed when we want to really stop the track or
   live streaming. For a live streaming is really important: the player cache gradually
   saturates, and finally (after some hours, it depends on bitrate) the audioplayer
   blocks itself.
 * Is there a way to really stop the streaming audio? That would be really useful
   for live mp3 streaming.
 * Any advice welcome!
    pkasa
 * [http://wordpress.org/extend/plugins/audio-player/](http://wordpress.org/extend/plugins/audio-player/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Vesa Laakso](https://wordpress.org/support/users/vesalaakso/)
 * (@vesalaakso)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-audio-player-missing-stop-method-or-button/#post-2392181)
 * Use JavaScript to turn the containers css’ **display**-property to **none**. 
   That will remove the audioplayer from memory and efficiently stopping it from
   streaming. I myself use jQuery for that.
 * Note that my code is customized and you probably can’t get the exact HTML for
   your page. You need to tweak the jQuery to fit your needs. I provide these just
   for an example.
 * My HTML looks like this:
 *     ```
       <h4>Listen to my show</h4>
       <div class="audioplayer_container" style="display: none">
         <object>-- Here is the audio player object --</object>
         <a href="#" class="player_close">[X] Close player</a>
       </div>
       <div class="player_open"><a href="#">Open player</a></div>
       ```
   
 * My jQuery script is in pastebin: [http://pastebin.com/MbyX3m3N](http://pastebin.com/MbyX3m3N)
 * I have also found it quite useful to first style all audioplayer containers in
   the page with “display: none” so that the user won’t have to load Flash automatically
   and thus making the page load faster. But that is up to you.
 *  [WaqasAliDogar](https://wordpress.org/support/users/waqasalidogar/)
 * (@waqasalidogar)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-audio-player-missing-stop-method-or-button/#post-2392213)
 * My website is [http://www.truesufism.org](http://www.truesufism.org). My problem
   is that I have many different audios on the same page.
 * When a visitor comes to my site and clicks on audio 1…..listen few minutes then
   click on audio 2 ….. audio 3 …. audio 4…..
 * **BUFFERING DON’T STOP…..**
 * Is there any way to **stop buffering of the audio** when visitor clicks on pause
   button???
 * Please help??

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Audio Player] Missing stop method or button’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/audio-player.svg)
 * [Audio Player](https://wordpress.org/plugins/audio-player/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/audio-player/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/audio-player/)
 * [Active Topics](https://wordpress.org/support/plugin/audio-player/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/audio-player/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/audio-player/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [WaqasAliDogar](https://wordpress.org/support/users/waqasalidogar/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-audio-player-missing-stop-method-or-button/#post-2392213)
 * Status: not resolved