speak

Speaks the Captcha's text - triggers the audioHandler action. The returned promise is resolved when audio's ended event is triggered.

Example

pseudo
    <input id="captcha" />
    <script>
        var captcha = $("#captcha").kendoCaptcha({
            handler: "https://demos.telerik.com/kendo-ui/captcha/reset",
            audioHandler: function (args) {
                args.success("https://demos.telerik.com/kendo-ui/captcha/audio?captchaId=" + args.data.captchaId);
            }
        }).data("kendoCaptcha");

        // call the speak method
        //captcha.speak().done(function () {
           // console.log("Audio ended");
        //});
    </script>

Returns

Promise

In this article
speak
Not finding the help you need?
Contact Support