Languages

Menu
Sites
Language
Sound looping

Hello,

Our app runs in full-screen WebGL <canvas>, like a game.
So there is no place for <audio> tags.

What is the recommended way of playing sound loops on Tizen?

Responses

2 Replies
konduri sai swathi

Hi,

Try the below code:

var sound = new Audio("./music/Score.mp3");
sound.play();

Use the above code in any function you want to play the audio. "./music/Score.mp3" is the path of the audio file.

talari praveen kumar