Embed the audio player
Put Engine audio on your own pages with one script tag. The player has play and pause, seek, speed, captions, keyboard use and screen reader labels. It makes no tracking calls: it loads only the audio and captions you point it at.
Add it
<script src="https://mredgeengine.com/embed/player.js" defer></script>
<edge-voice-player
src="https://your-cdn.example/story.mp3"
captions="https://your-cdn.example/story.vtt"
title="Listen to this story in Hausa">
</edge-voice-player>Make the audio first
The player plays a file. Make the file on your server, so your API key never reaches a browser.
// 1. On your server, make the audio and the captions once (never in the browser, your key stays secret)
const job = await edge.createSpeechJob({ text, language: 'hau', subtitles: ['vtt'] })
// 2. When the job succeeds, download the file and the captions with getJobDownload / getJobSubtitles
// 3. Save them on your own storage or CDN, then point the player at those https addressesColours
Set --evp-accent, --evp-bg and --evp-text on the element to match your site.
Try it
Loading a sample...
Pages that use a strict content security policy must allow script-src https://mredgeengine.com and media-src for your audio host.
Every Engine file carries an inaudible AI-provenance mark and metadata. Keep the "AI-generated voice" line the player shows.