Ste default paramter (ex size of the text, voice, speed) when implementing Immsersive Reader on Web pages

fede3110 21 Reputation points
2021-10-19T14:02:07.597+00:00

Hi everyone,

i'm working on the implementation of Immersive Reader service on web pages. I've done it all witohout problems by using basic functionality. Now, I'd like to understand if it is possible to SET DEFAULT for immersive reader contents in some way in order for the Immersive Reader to open in preconfigured way for alla users of the netweork (meaning I do not want to personalise it by using cookies and user preferences) when clicking on the button.

Example: I'd like to set di environment such that when clicking on the button of Immersive Reader it starts with maximum speed and green font by default.

thanks for every suggestions :)

Azure AI Immersive Reader
Azure AI Immersive Reader
An Azure Applied AI Service that embeds text reading and comprehension capabilities into your applications.
28 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,908 questions
{count} votes

Accepted answer
  1. romungi-MSFT 46,911 Reputation points Microsoft Employee
    2021-10-20T07:41:25.943+00:00

    @fede3110 You can achieve this by using the options parameter in the launch method. For example the following options can be configured before calling launch ImmersiveReader.launchAsync()

    I believe the speed is set in the ReadAloudOptions() but the color options vary and are part of the CookiePolicy options. If you plan to disable the cookie policy then the colors will be set to default.

    const options = {  
        readAloudOptions: {  
            speed: 1.5,  
            autoplay: true  
        }  
    };  
    ImmersiveReader.launchAsync(YOUR_TOKEN, YOUR_SUBDOMAIN, YOUR_DATA, options);  
    

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.