Adapt "Listen to my story" to read blocks

Description

With the inclusion of the new block-style story composition, the "Listen to my story" feature no longer works properly. Instead of reading out the story content, it now attempts to stringify each block and simply says "Object object" for each block.

We should consider

  • what elements of each block should be read aloud, with a focus on the alternative text values

  • how to iterate over them

  • when to iterate over them (e.g. on demand when the button is pressed or ahead of time with something like a model relay)

Activity

Show:

Gregor Moss April 25, 2018 at 8:40 PM

storySpeaker has been updated to compile the contents of each block of a story using a model relay to track any changes automagically. A block's contents will depend on the type of block that it is, and the contents are compiled by model relays in each. E.g. for an image block, it combines the heading, alternative text and description values, while a text block will combine only the heading and text values.

Gregor Moss April 2, 2018 at 9:05 PM

pay attention to {uiManager}.storySpeaker's model relay for ttsText and related fields

Done

Details

Assignee

Reporter

Components

Priority

Created March 15, 2018 at 7:01 PM
Updated April 25, 2018 at 8:40 PM
Resolved April 25, 2018 at 8:40 PM