It took 6 lines of code to get it working.
First link the ResponsiveVoice.js
Then when the play button is clicked play the text.
var player = GetPlayer();
var textToSpeech = player.GetVar("textToSpeech");
And your done.