This will be the 4th place to ask the same question, but seeing it is based on your tech hopefully someone here can answer it.
https://stackoverflow.com/questions/44340531/adding-play-pause-to-webgl-in-php-js-only <- just quicker this way, hope you don’t mind.
Thanks Jon