![]() ![]() Posted in HTML5 Audio JavaScript API, HTML5 Audio Player, jQuery Audio Player How to add download links in Amazing Audio Player For example, the following URL will start playing the third audio. You can use the parameter to specify an audio to start. The player created with Version 3.0 and above supports two URL parameters firstaudioid and autoplayaudio. The following answer only works for Version 3.0 and above. When they click I want to send them to the separate page where my player is but I want it to automatically play track 12. Posted in HTML5 Audio JavaScript API, HTML5 Audio Player How to add an HTML5 audio player to Blocsīasically, I want to know if I'm able to send someone to the page the player is on but have the player playing a specific track rather than default to the first track.įor example, my customer is reading an article and there's a link that asks them to "click here" to hear the interview. Var instance = $("#amazingaudioplayer-" + playerID).data("object") įor (var i = instance.elemLength - 1 i > 0 i-) In the code, line 6, if your player has a different ID, please change the value accordingly. Step 2 - In your webpage, add the following JavaScript to your webpage, just before the head closing tag. You could use your own CSS to add style to the button. Step 1 - In your webpage, add the following HTML code to create a button. This tutorial will show you how to add a button to shuffle the playlist of the audio player. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |