Metadata
- Source
- FLUID-6392
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Colin Clark
- Reporter
- Justin Obara
- Created
2019-08-07T10:53:38.390-0400 - Updated
2024-07-22T10:35:11.184-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Self Voicing
Description
UIO+ ran into an issue where dynamically loaded iframes were causing the self voicing to be stopped ( https://issues.gpii.net/browse/GPII-3977 ). It appears the reason is because the iframe loads a new instance of the Orator because each iframe is passed the content scripts. When the Orator is initialized the following model listener is triggered.
modelListeners: {
"enabled": {
listener: "{tts}.cancel",
namespace: "orator.clearSpeech"
}
},
The result is that the TTS is cancelled every time an iframe is loaded.
Comments
-
Justin Obara commented
2019-08-07T14:08:20.043-0400 This was probably legacy code when running into issues with the TTS still running after reloading the page. This has been addressed by cancelling TTS on unload.