SyntaxFix
Write A Post
Hire A Developer
Questions
with jQuery:
$("#playerSource").attr("src", "new_src"); var audio = $("#player"); audio[0].pause(); audio[0].load();//suspends and restores all audio element if (isAutoplay) audio[0].play();