Media Source Extensions lets JavaScript feed video data to the video element in small chunks rather than handing over a single complete file. This is done using fragmented mp4, where the video is split into short segments that can be loaded on demand. With this, developers can build adaptive streaming, switch quality based on network conditions, and support live video.