When to use VLC
VLC (or PotPlayer) is the better choice for playing local video files offline, for streams that use codecs a browser cannot decode, and when you want a single desktop player for every format you own. It is mature, free, and open source, and it does not depend on a network for local media.
When to use an online M3U8 player
Reach for a browser HLS tool when the job is testing, debugging, converting, or editing a stream rather than just watching it. There is nothing to install, it runs on any operating system and on mobile, and it surfaces things VLC does not: a link health report that lists every resolution track and finds dead .ts segments, a custom Referer/User-Agent to revive hotlink-protected streams, and one-click MP4/MP3 export with trimming.
How to play an M3U8 stream in VLC
Open VLC, choose Media then Open Network Stream, paste the .m3u8 URL, and press Play. To send a custom Referer you must add the :http-referrer option (or pass it on the command line), which is manual compared with a browser tool that exposes Referer and User-Agent as fields.
Why a stream plays online but not in VLC (or the reverse)
CORS only affects browsers, so a stream can play in VLC yet fail in a plain browser player until a CORS proxy routes it. Hotlink protection and expired links affect both, but a desktop player just shows a generic failure, while a browser health report pinpoints whether the manifest, keys, or segments are dead and a Referer field lets you retry with the headers the origin expects. Codec gaps work the other way: VLC may decode a stream a browser cannot.
Frequently asked questions
Can VLC play M3U8 / HLS streams?
Yes. In VLC choose Media, then Open Network Stream, paste the .m3u8 URL, and press Play. VLC handles live and VOD HLS without extra plugins.
Why won't VLC play my M3U8 link?
Usually the link has expired, the origin requires a specific Referer (hotlink protection), or a segment is dead. A browser tool's link health report can pinpoint the cause, and a custom Referer/User-Agent often revives the stream.
Can I set a custom Referer in VLC?
Yes, but it is manual — you add the :http-referrer option or pass it on the command line. A browser HLS tool exposes Referer and User-Agent as fields and forwards them through a proxy.
Is an online M3U8 player better than VLC?
For testing, debugging, converting, and editing HLS streams, a browser tool is faster and more diagnostic. For offline playback of local files and rare codecs, VLC is better. They solve different problems.
Does VLC show stream health like bitrate or dead segments?
No. VLC has codec and basic media info but no dedicated HLS health report. Use a browser-based M3U8 validator to list resolution tracks, bitrate, encryption, live/VOD status, and dead .ts segments.