Streaming explained
How source order and fallbacks work when a browser picks a stream
A practical guide to how the HTML source element and MIME type hints decide which stream a browser tries first, and how that shapes playback in ZippyCast.

Why the browser, not the page, chooses the stream
When a media element has no src attribute of its own, the browser walks through the child source elements in the order they appear and picks the first one it believes it can play. The page author writes the list, but the decision belongs to the user agent. That single detail explains a lot of confusing behaviour: a stream that plays perfectly on one machine and fails on another is often the same list being read by two different browsers with different capabilities.
ZippyCast is an empty-shell player, so it supplies no channels, movies or playlists of its own. Everything it plays arrives from the provider credentials you connect. That makes the fallback question a provider-side and browser-side question rather than something the player can fix by itself, and it is worth understanding before you blame the app.
What the type attribute actually does
Each source element can carry a type attribute holding a MIME type, such as video/webm or video/mp4. The browser uses that hint to skip sources it knows it cannot handle without downloading them first. A source with no type, or with a type the browser does not recognise, may still be fetched and tested, which costs time and can delay startup.
The type attribute is a hint, not a guarantee. A browser may accept video/mp4 as a container and still fail on the codecs inside it. This is why the codecs parameter exists on MP4 MIME types: it lets the page describe the audio and video codecs, their profiles and levels, so the browser can reject a source it could not decode. A list that omits codec detail is more likely to produce a late failure after a download has already begun.
Ordering a list for the widest reach
The conventional pattern is to offer the preferred modern format first and a broadly supported fallback after it. A typical arrangement puts WebM ahead of MP4, so browsers that handle WebM take it and everything else drops through to MP4. A text message inside the media element covers the rare case where nothing in the list can be played at all.
For adaptive streams the same logic applies with different file types. An MPEG-DASH manifest can be offered as application/dash+xml with an MP4 and then a WebM file behind it as fallbacks. HLS playlists are handled differently again, because desktop Firefox does not support HLS natively while Safari does, so a list tuned for one browser may leave another with nothing to play.
Where this shows up in ZippyCast
ZippyCast plays live streams in HLS and MPEG-TS form and most MP4 and MKV video-on-demand files directly in the browser. Some MKV and AVI files are remuxed on the fly so they can play, and when a file still cannot be handled the player offers an Open in VLC fallback. That fallback exists precisely because the browser's own decision can end in a refusal.
If a channel or file fails, the useful first step is to try another item from the same provider. If everything fails, the problem is likely the connection or the provider. If only one item fails, the container or codec combination is the likely culprit, and the VLC route is the practical workaround.
Practical habits that save time
Keep the list short and ordered deliberately. Two or three well-chosen sources with accurate type attributes beat a long list of guesses. Include codec detail on MP4 entries where you can, so the browser rejects impossible sources early rather than after a partial download.
Remember that the web player requires an HTTPS provider URL, because browsers block insecure requests from a secure page, while the downloadable desktop and TV apps accept plain HTTP as well. A source list that looks correct can still fail in the browser for that reason alone, so check the scheme before you start editing formats.
