MCQs > IT & Programming > HTML 5 > Which code will play an audio in a loop?

HTML 5 MCQs

Which code will play an audio in a loop?

Answer

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

HTML 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

HTML 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it