A podcast episode on your blog, a recorded talk on an events page, a short audio welcome on the home page. Audio is a lovely way to reach people. But the way a player is added to the page decides how much is downloaded before anyone presses play. This article compares the browser's own audio player with third-party podcast players, and shows which settings matter.
What loads before anyone presses play
There are two separate things a player can bring with it:
- The audio itself. Audio files are large compared with text. As simple arithmetic, a file encoded at 128 kilobits per second is about 1 MB per minute, so an hour-long episode is roughly 58 MB.
- The player. The browser's built-in player costs nothing extra. A third-party player is an embed with its own code, styles and images, loaded from another company's servers.
GreenTracer measures one initial, uncached load of the page with Google PageSpeed Insights and doesn't click anything, so it never presses play. Whatever the page fetches without being asked is counted; whatever waits for a click is not. Under the Sustainable Web Design Model v4, each megabyte fetched in that first load adds about 0.148 g CO₂e to the estimate per page view (about 0.121 g on a host listed as green).
The native audio player and preload
HTML has an <audio> element with a preload attribute. MDN describes three values:
none: the audio should not be preloaded.metadata: only details such as the length are fetched.auto(or an empty value): the whole file can be downloaded, “even if the user is not expected to use it”.
MDN adds three points worth knowing. The default differs between browsers, although the specification advises metadata. The setting is only a hint that browsers don't have to follow. And autoplay takes precedence over preload, because a browser has to download audio to play it. web.dev's article on preload notes that Chrome has defaulted to metadata since Chrome 64.
So for an episode further down a page, say what you want rather than relying on the default:
<audio controls preload="none">
<source src="episode-12.mp3" type="audio/mpeg">
<a href="episode-12.mp3">Download the episode (MP3)</a>
</audio>MDN recommends including the type so the browser can tell straight away whether it can play the file, and a download link inside the element as a fallback. Leave out autoplay: MDN says automatically playing audio can be an unpleasant experience and should be avoided where possible. The video version of these settings is covered in video without the weight.
Lazy audio: new, and not everywhere yet
MDN now documents a loading="lazy" attribute for audio, which defers loading “until the controls reach a calculated distance from the viewport”, with the preload behaviour applied only once they are near. MDN's browser compatibility data lists it as experimental: supported in Chrome and Edge from version 150; in Firefox from version 160 only when a preference is switched on, which is off by default, so treat Firefox as unsupported for visitors; and not yet in Safari. It is a reasonable extra, but preload="none" is the setting that works everywhere today.
Third-party podcast players
Many podcast hosts offer an embed code, usually an <iframe>. It is convenient: artwork, episode list, subscribe buttons. But the player loads in full with the page, before play. Google's guide to third-party embeds says many popular embeds “include over 100 KB of JavaScript, sometimes even going up to 2 MB”. It doesn't name podcast players, so measure yours rather than assume.
- Lazy-load the iframe. Adding
loading="lazy"defers offscreen iframes until the user scrolls near them. MDN notes it only takes effect when JavaScript is enabled. Give the iframe atitletoo, so screen reader users know what it holds. - Load the player on click. Show the episode title and a play button, and load the real player only when pressed. Our article on maps, chat and embeds on demand explains this pattern.
- Link out. For an archive of episodes, a list of titles linking to each episode page or to your podcast host is often enough. One player on the episode page beats ten on the archive.
Whichever you choose, MDN advises that spoken audio should come with a transcript. A text transcript is also light, searchable and useful to people who would rather read.
Check what your player adds
- Open the page in a private window with Chrome DevTools' Network panel open, tick “Disable cache” and reload without pressing play. See how to check your page weight for a walkthrough.
- Use the “Media” filter to see audio requests, then look for the player's host among the rest.
- Change the preload setting or the embed, reload, and compare the transferred total.
- Press play to make sure the episode still starts, on a phone as well as a computer.
- Check the page again and compare the bytes measured with your earlier report.
Sources
- MDN: the audio element (preload, autoplay, loading, accessibility)
- MDN browser-compat-data: audio element support
- web.dev: fast playback with audio and video preload
- web.dev: best practices for using third-party embeds
- web.dev: it's time to lazy-load offscreen iframes
- MDN: the iframe element (loading and title)
- Chrome DevTools: Network features reference
- Sustainable Web Design: estimating digital emissions (SWDM v4)



