After the audio stops will it ask for replay? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

After the audio stops will it ask for replay?

21st Dec 2016, 2:42 PM
S.Archana
S.Archana - avatar
2 Answers
+ 1
you can check the status of the audio playing in a java script and, in case it is paused will launch an alert asking you if you want to continue playing the audio. Check the currentTime and duration properties of video/audio elements. You may compare them, and if they match prompt an alert requiring to replay the audio
30th Dec 2016, 5:52 PM
seamiki
seamiki - avatar
0
no it will not you can add <audio controls loop> to replay it autommatic
18th Jan 2017, 1:06 PM
Mohamed Ahmed Salem