watson-developer-cloud / speech-to-text-nodejs

:microphone: Sample Node.js Application for the IBM Watson Speech to Text Service
https://speech-to-text-demo.ng.bluemix.net
Apache License 2.0
1.11k stars 706 forks source link

Show the playback when the url contains a debug=true or 1 #59

Closed germanattanasio closed 8 years ago

germanattanasio commented 9 years ago

We should hide/show the playback button if the url contains a specific query parameter like debug or playback

This will be really useful for users trying to test their microphone. They will be able to see what are they sending to the service.

I would suggest to use debug since that will allow us to do more than just playback.

speech-to-text-demo.mybluemix.net?debug=true

@kasaby you have already implemented the playback functionality. Can you detect the query parameter and show/hide it?

kasaby commented 8 years ago

ok I'm working on it.

kasaby commented 8 years ago

https://github.com/watson-developer-cloud/speech-to-text-nodejs/pull/63 done.

germanattanasio commented 8 years ago

@daniel-bolanos can you test and deploy the latest changes