Skip to content
CodoPlayer

M3U or Xtream link will not play in the browser: CORS and mixed content

A web player fails to play an M3U or Xtream link in the browser when a secure page tries to load an http stream, when the provider's server does not give web pages permission to read its replies, or when the link has expired. An app has none of those browser rules.

By the CodoPlayer team. Last updated . CodoPlayer provides no channels, films, series, playlists or subscriptions. You bring your own source and you are responsible for using it lawfully.

How to play an M3U or Xtream link that is blocked in the browser

  1. Check the link first with the Playlist Checker. If the account is expired or the provider refuses the request, no player can fix that.
  2. If the checker is happy, open the free web player, which runs over plain http so the browser may fetch an http stream. If your browser changes the address to https, follow the free player help page.
  3. Install the CodoPlayer extension if the web player suggests it. It helps the page read streams that the browser would otherwise refuse.
  4. Or use the CodoPlayer app for Android, Android TV, Fire TV, Windows or Linux, which does not run in a browser and has no browser rules.

Why won't my M3U link play in the browser?

A browser blocks an M3U stream when the page is secure but the stream address starts with http, when the provider's server does not allow browser requests, or when the link has expired. The same link usually plays in the app, because an app does not apply those browser rules.

Xtream web player CORS error: what does it mean?

A CORS error means your browser refused to read a reply from your Xtream provider's server, because that server did not give web pages permission to read it. It is the provider's setting, not a mistake in your login. The CodoPlayer apps do not run in a browser, so the rule does not apply.

Mixed content: https page, http stream

Mixed content means a secure https page tried to load a video from an http address, and browsers block that to protect the page. Many IPTV providers only offer http streams, so the same link works in an app but not on an https website. A plain-http page or an app avoids the block.

What does the CodoPlayer web player do about it?

The free player runs over plain http on purpose, so your browser fetches an http stream straight from your provider with nothing passing through CodoPlayer's servers. The CodoPlayer extension can help the page read streams a browser would refuse. Neither changes what your provider allows.

Does it work in Safari on iPhone and iPad?

Safari plays HLS (.m3u8) streams by itself, and the web player uses that. There is no CodoPlayer app for iPhone or iPad today, and whether a channel plays depends on its format and on your provider, so test the link with the Playlist Checker first.

Free tools for this problem

  • Playlist Checker: Is your line working? Account, expiry, channel counts and which channels answer.
  • M3U Validator: Find broken lines, bad links, duplicates and missing guide IDs, then download a fixed file.
  • Browser Playback Test: See in one click which picture, sound and stream formats this browser can play.
  • M3U8 Player and HLS Inspector: Read an HLS manifest and play one .m3u8 stream, in your browser.

Related questions

Is the browser player the same as the app?

Same account and same playlists. The apps add what only a native build can do: recording, offline downloads, picture-in-picture, external players, background playback and remote-control handling on TV. The web player needs nothing installed and runs in any current browser, so it is the quickest way to try your playlist.

Does CodoPlayer work on iPhone, iPad or Mac?

There is no iPhone, iPad or Mac app today. On those devices open the web player in your browser, add your playlist there and watch without installing anything. The web player runs in Safari and other current browsers, with the same account and playlists as the apps, and it needs no installation.

What happens to my playlist credentials?

Credentials never appear in the page address or a server log, and your browser contacts your provider directly. A playlist you open in the web player is also stored on our server, and in your account when you are signed in. You can remove a source or a device at any time.

Related guides for your device and playlist

How we write and test these guides