Hello all,
I'm looking at a use-case where we are integrating a TTS component into Moodle through the use of a plugin.
Currently there is an integration in the site where the solution is presented in the course content as a side-block. This functions by inserting some JavaScript code which presents a "click to Listen" button as well as a JavaScript which controls the functionality of the player. For this to function the content to read needs to be presented on the same page as the JavaScript etc.
I've been researching but have not found any way to integrate JavaScript code into the actual content in the mobile app, does anyone have any experience with this or can answer whether it is actually possible or not?
The vital point here is that the JavaScript and Listen-button code needs to be loaded and presented on the same page as the content appears, requiring a user to go to a separate page to consume the content via audio is not a good option.
Thanks in advance.