# Mp3 player - Play/stop/load from html links (w/js?)

**URL:** <https://forum.kirupa.com/t/mp3-player-play-stop-load-from-html-links-w-js/266457>\
**Category:** flash\
**Created:** [July 21, 2008, 12:37am UTC](https://forum.kirupa.com/t/mp3-player-play-stop-load-from-html-links-w-js/266457 "2008-07-21T00:37:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdr21](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mdr21](https://forum.kirupa.com/u/mdr21)\
**Post date:** [July 21, 2008, 12:37am UTC](https://forum.kirupa.com/t/mp3-player-play-stop-load-from-html-links-w-js/266457/1 "2008-07-21T00:37:49Z")

</div>

Hi,  
Does anyone have a resource for this, I’ve done some seraching and found some stuff, but nothing that just explains how, if possible to play an audio file in a flash mp3 player when you click on a html link (whether using js/php or whatever).

Example:  
1.) Mp3 are loaded through your standard xml playlist. (Play, stop, next, prev, etc. etc.)  
2.) User wants the flash player to stop the current song playing and play/load the song selected after clicking on one of the html links listed on a page.

Thanks for any direction/help.
