Which code will play an audio in a loop?
Correct Answer: audio = new Audio(‘asound.ogg'); audio.addEventListener('ended', function() { this.currentTime = 0; this.play(); }, false); audio.play();
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More HTML 5 MCQ Questions