How to add an Xtream Codes login on iPhone
Many IPTV providers give you an Xtream Codes login instead of, or as well as, an M3U link. It's three things: a server address, a username and a password. An Xtream Codes login gives a player more than a plain playlist does: live TV with its TV guide, a movie library, and series organised by season. Here is how to use one on your iPhone with 42Player.
What you need
- An iPhone with iOS 26.2 or later.
- The server address, username and password from your IPTV provider. 42Player is a player only: it includes no channels, so the login always comes from your own provider.
Step 1: Install 42Player
Download 42Player from the App Store. It's free to download, and every feature works from the start. Each channel, movie or episode plays for 60 seconds, so you can check your login works before deciding to unlock it with a one-time purchase. There's no subscription.
Step 2: Add the login
Open the Playlists tab, tap Add Playlist, and switch the type to Xtream Codes. Then fill in:
- Playlist Name: anything that helps you recognise it.
-
Server URL: the address your provider gave you, including
http://orhttps://and the port number if there is one, for examplehttp://example.com:8080. - Username and Password: exactly as your provider sent them. Both are case-sensitive.
Tap Add Playlist. 42Player signs in and loads your live channels, movies and series.
Your password is stored in the iPhone's Keychain, the same secure storage your iPhone uses for its own passwords, and the app sends nothing to us.
Step 3: Watch
The playlist opens with three sections:
- Live: channels in your provider's groups, with what's on now and next. The TV guide comes with the login, so there's nothing extra to set up.
- Movies: posters, descriptions and ratings, when your provider includes them. 42Player remembers where you stopped, so you can resume later.
- Series: pick a season, then an episode.
In the player you can turn on subtitles, choose the audio language, and AirPlay to a TV or Apple TV.
If the login doesn't work
-
Check the server address. It should look like
http://name.com:8080, with no extra path after the port. If your provider sent a long link containingget.php?username=, the part before/get.phpis the server. - Check for typos. Copy and paste the username and password instead of typing them, and watch for spaces at the end.
- Check your subscription. An expired account is the most common reason a login is refused.
-
Test the app with our demo playlist. Add
https://42player.com/demo.m3uas an M3U playlist. If it plays, the app is fine and the problem is on the provider's side.