Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to synchronize and highlight HTML text to audio [closed]

I want to highlight the text as audio plays in a web site. As the audio plays this text will keep on highlighting, just as we see in television.

Please tell me how i can do this using any web technology.

I will be very thankful to all of you. Thanks in advance.

like image 648
Haseeb Iqbal Avatar asked Jan 25 '26 04:01

Haseeb Iqbal


1 Answers

there is a question similar to this one here that answers your question on how to highlight text: Simple JavaScript Animation for 1 Second to Highlight Text?

HTML5 is good for audio: http://www.w3schools.com/html/html5_audio.asp

These resources will hopefully get you on the right track!

like image 87
Cube_tbh Avatar answered Jan 27 '26 17:01

Cube_tbh