+1
Answered

How to detect the play/pause button being pressed.

Graham Jones 6 years ago in SitePal Gold updated 6 years ago 2
I'm using sayText function on sceneloaded and have used a player with the play/pause button, how do I detect the the play button has been pressed, I want to use this to repeat the text previously spoken. Does this call an event?
play repeat saytext
Hi Graham -
Unfortunately there is no way for you to detect a click on the built in play/pause button.
If this is important to your implementation, you have the option of creating your own controls - your own play / pause button. You can do so by selecting player "none" and use the API to add your own buttons.
Hope this helps,
Gil
SitePal Team
Hi Gil,

Many thanks for your prompt reply, I have today instigated that solution. Excellent service.

Graham Jones