i looking solution problem.
i have blog> elijahlucian.blogspot.com
where post musical sketches. use html5 tag audio after switching clunky flash player didn't work on phones...
essentially trying make player searches next tag after it's done playing. possible using blogger?
would need top end page access load kind of java script?
any or direction reading welcome! thanks
something maybe? http://codepen.io/nickcolley/pen/fbwjs
//grab audio elenents var audio = document.getelementsbytagname('audio'); //create listeners (var = 0; < audio.length; i++) { audiolisteners(i); } function audiolisteners(i) { audio[i].addeventlistener('ended', function() { this.duration = 0; this.pause(); audio[i+1].play(); }, false); }
Comments
Post a Comment