UNPKG

@jackdbd/eleventy-plugin-text-to-speech

Version:

Eleventy plugin that uses text-to-speech to generate audio assets for your website, then injects audio players in your HTML.

15 lines 627 B
/** * The `<audio>` tag supports 3 audio formats: MP3 (audio/mpeg), WAV (audio/wav), * and OGG (audio/ogg). * * @see [wikipedia.org - Supported media types in various browsers](https://en.wikipedia.org/wiki/HTML5_audio) * @see [stackoverflow.com - HTML5 audio Browsers unable to decode wav file encoded with IMA ADPCM](https://stackoverflow.com/questions/36866611/html5-audio-browsers-unable-to-decode-wav-file-encoded-with-ima-adpcm) */ export declare const mediaType: (ext: string) => { value: string; error?: undefined; } | { error: Error; value?: undefined; }; //# sourceMappingURL=media-type.d.ts.map