Have a look at https://mydemoversion8-sandbox.mxapps.io/p/speech. This page I have also copied to a native page. Source code can be forked from https://github.com/TimvanSteenbergen/MyDemoVersion8