Answers for "control audio javascript"

0

control audio javascript

var audio = new Audio("folder_name/audio_file.mp3");
audio.currentTime = 0;	// Set audio play time from the beginning of audio
audio.play();			// start playing audio
audio.pause();			// pause audio
Posted by: Guest on September-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language