immersive-reader-sdk icon indicating copy to clipboard operation
immersive-reader-sdk copied to clipboard

readaloudoptions not working

Open graham83 opened this issue 3 years ago • 1 comments

Configuring readAloudOptions on launch does not have any effect.

Have tried variations of this (e.g. autoplay -> autoPlay, male -> Male without success. The reader opens and requires manual starting and configuration.

Browsers tested Chrome, Edge.

This is the JS configuration:

const options = {
        "readAloudOptions": {
            "autoplay": true,
            "voice": 'male'
        },
        "onExit": exitCallback,
        "uiZIndex": 1000000
    };

graham83 avatar Oct 22 '22 06:10 graham83

Hello graham83,

Unfortunately, we are not able to reproduce this issue on our end. We have confirmed that using your options code above works in our Sample app here. Have you tried using our sample to reproduce this?

What is the language of the text are you using? Wondering if it could be related to your language or content somehow, perhaps a language that is not supported for Playback...

Can you share your sample text? Or even perhaps a small project that reproduces the issue, if that is convenient?

Thanks!

rwallerms avatar Oct 26 '22 23:10 rwallerms

Thank you for your response. I spun up the example and see it is working. I added option lang: "en-US" to my code and then the autoplay worked. However removing this option it continues to work so not a definite bug.. perhaps something cached. I will close this issue thank you.

On Thu, 27 Oct 2022 at 10:39, rwallerms @.***> wrote:

Hello graham83,

Unfortunately, we are not able to reproduce this issue on our end. We have confirmed that using your options code above works in our Sample app here https://github.com/microsoft/immersive-reader-sdk/blob/471c242f1c08c38892197b8e7b3ad1328736c3be/js/samples/quickstart-csharp/Views/Home/Index.cshtml#L106. Have you tried using our sample to reproduce this?

What is the language of the text are you using? Wondering if it could be related to your language or content somehow, perhaps a language that is not supported for Playback...

Can you share your sample text? Or even perhaps a small project that reproduces the issue, if that is convenient?

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/immersive-reader-sdk/issues/391#issuecomment-1292778263, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMNDXVATS2LWSWDFL4O32LWFG6M3ANCNFSM6AAAAAARLW3LIY . You are receiving this because you authored the thread.Message ID: @.***>

graham83 avatar Nov 01 '22 02:11 graham83

Thank you for confirming! I will close this issue now. Please reach out with any further questions!

rwallerms avatar Nov 02 '22 19:11 rwallerms