I bet bet it's the loop setting in the script itself. Using a text only editor like NotePad, open the bgaudioplayer.js file. At the top we see:
Code:
/* HTML5 background audio player
* Created: Jan 31st, 2012 by DynamicDrive.com. This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/
jQuery.noConflict()
var bgaudioplayer = (function($){
var audio5support = !!document.createElement('audio').canPlayType
var d_setting = {autoplay:true, loop:true, persistTimeLine:false, volume:0.5, volumelevels:10}
Notice the highlighted line and the red part in it. Simply remove the red part and that should prevent the audio from looping:
Code:
/* HTML5 background audio player
* Created: Jan 31st, 2012 by DynamicDrive.com. This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
*/
jQuery.noConflict()
var bgaudioplayer = (function($){
var audio5support = !!document.createElement('audio').canPlayType
var d_setting = {autoplay:true, persistTimeLine:false, volume:0.5, volumelevels:10}
Save and use that version of the file.
The browser cache may need to be cleared and/or the page reloaded to see changes.
Bookmarks