READ ALOUD · EMBED GUIDE Add the read-aloud control to a page where you can edit the HTML and add a JavaScript module. Replace YOUR-IOPO-ORIGIN with the origin where this app is hosted: The container should have position: relative; the control appears in its top-right corner. By default it reads the visible text of the first main or article element, falling back to the document body. For a canvas, editor, or a particular page of a document, provide the text explicitly: mountReadAloud({ container: document.querySelector('#page'), getText: () => document.querySelector('#my-editor').value }); The function returns an object with destroy() to remove the control and stop playback. Voice selection is available from the arrow beside the play button. The user's ElevenLabs API key is kept in session storage for that tab and sent to the IOPO speech service. Hosted use requires the listener to provide their own key. Local development can instead use ELEVENLABS_API in the server environment or .env file. Cross-origin embeds always require the listener’s own key. Voice Library access depends on the ElevenLabs account. Voice selection may add a chosen public library voice to the user's account before synthesis. The Handwritten desk reads only the currently visible page. Text is sent to ElevenLabs for speech generation when the listener presses play. Long pages are sent in consecutive chunks.