Easily Create a Voice Recorder With Javascript | SvelteKit

Опубликовано: 11 Март 2026
на канале: Matias Hernández
1,556
17

In this video, I'm showing you how to use the MediaRecorder API to record audio directly in your browser.

The MediaRecorder API provides functionality to easily record media in a native way directly in the browser, in this case I'll show you how to record audio to then use it for any purpose.

This can be done with plain ol' Javascript but for this example, I show how how to do it within a SvelteKit application

Foud the Media Record API documentation here https://developer.mozilla.org/en-US/d...
And the DataTransfer API here on MDN https://developer.mozilla.org/en-US/d...

Make sure to follow me on:

Twitter:   / matiasfha  
TikTok:   / matiasfha  
My AMA Repo: https://github.com/matiasfha/ama
And visit my site https://matiashernandez.dev to check more content.