quran / quran.com-frontend-next

Frontend build on next.js
https://quran.com
1.37k stars 399 forks source link

Use xState for audioPlayer #650

Closed tifa2UP closed 2 years ago

Ashraf-Ali-aa commented 2 years ago

it might be worth using https://howlerjs.com/ since the lib handles the audio on multiple platforms using a single api plus the lib support audio sprites which would be useful for playing part of the audio