jQuery(document).ready(function(){ var scripts = document.getElementsByTagName("script"); var jsFolder = ""; for (var i= 0; i< scripts.length; i++) { if( scripts[i].src && scripts[i].src.match(/initaudioplayer-1\.js/i)) jsFolder = scripts[i].src.substr(0, scripts[i].src.lastIndexOf("/") + 1); } jQuery("#amazingaudioplayer-1").amazingaudioplayer({ jsfolder:jsFolder, skinsfoldername:"", titleinbarwidthmode:"fixed", timeformatlive:"%CURRENT% / LIVE", volumeimagewidth:24, barbackgroundimage:"", showtime:false, titleinbarwidth:80, showprogress:false, random:false, titleformat:"%TITLE%", height:600, loadingformat:"Loading...", prevnextimage:"img/prevnext-48-48-1.png", showinfo:false, imageheight:100, skin:"DarkBox", loopimage:"img/loop-24-24-0.png", loopimagewidth:24, showstop:false, prevnextimageheight:48, infoformat:"%ARTIST% %ALBUM%
%INFO%", stopotherplayers:true, showloading:true, forcefirefoxflash:false, showvolumebar:true, imagefullwidth:false, width:300, showtitleinbar:false, showloop:true, volumeimage:"img/volume-24-24-0.png", playpauseimagewidth:48, loopimageheight:24, tracklistitem:7, tracklistitemformat:"%ID%. %TITLE% %DURATION%", prevnextimagewidth:48, tracklistarrowimage:"img/tracklistarrow-48-16-0.png", playpauseimageheight:48, showbackgroundimage:false, imagewidth:100, stopimage:"img/stop-24-24-0.png", playpauseimage:"img/playpause-48-48-1.png", showprevnext:true, backgroundimage:"", autoplay:false, volumebarpadding:8, progressheight:8, showtracklistbackgroundimage:false, titleinbarscroll:true, showtitle:true, defaultvolume:-1, tracklistarrowimageheight:16, heightmode:"auto", titleinbarformat:"%TITLE%", showtracklist:true, stopimageheight:24, volumeimageheight:24, stopimagewidth:24, volumebarheight:72, noncontinous:false, tracklistbackgroundimage:"", showbarbackgroundimage:false, showimage:true, tracklistarrowimagewidth:48, timeformat:"%CURRENT% / %DURATION%", showvolume:true, fullwidth:false, loop:1, preloadaudio:true });});