I have trouble with javascript I want add:wmp_p.settings.setMode("loop", True);but no effect,how to use?(function() { var page_links = document.links; for (var i=0; i
' span.innerHTML = "
" span.innerHTML += embed_code; span.style.display = "none"; span.id = "togPlay" + i;// toggle.innerHTML = span; toggle.addEventListener("click", togglePlayer, true); page_links[i].parentNode.insertBefore(span, page_links[i].nextSibling) page_links[i].parentNode.insertBefore(toggle, page_links[i].nextSibling) } } function togglePlayer(event) { player = document.getElementById(this.title); if (player.style.display == "none") { player.style.display = "inline"; this.innerHTML = " "; //player.settings.setMode("loop",true); //player.settings.setMode("autoRewind",false); player.controls.play(); } else { player.style.display = "none"; this.innerHTML = " "; player.controls.stop(); } }})();