Implement a feature to allow for self voicing selected text

Description

Based on designs ( https://wiki.fluidproject.org/display/fluid/%28Floe%29+UI+Options+Design+Walkthrough%2C+C.1?preview=/32014373/34734325/uio_tts2.jpg ).

 

When self voicing is enabled, a user should be able to select some text to be self voiced. A play button should appear over the selected text, which can be clicked on to self voice the selection.

Environment

None

Activity

Show:

Justin Obara July 20, 2018 at 2:46 PM

PR ( https://github.com/fluid-project/infusion/pull/903 ) merged into the project repo at 272cf702d5bf749172c0ba2015ba00dcceb526b1

Justin Obara May 1, 2018 at 8:07 PM
Edited

Can use the "selectionchange" event, along with "window.getSelection()" to know when a user selection has been made and to get the contents of the selection.

see: https://developer.mozilla.org/en-US/docs/Web/API/Selection

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created August 1, 2017 at 1:20 PM
Updated July 20, 2018 at 2:46 PM
Resolved July 20, 2018 at 11:54 AM