TapnWatch Open the player

For providers

Make your service play well in TapnWatch

For TV providers and panel operators: what your server should answer so your viewers' live TV, films and series play in every browser, with sound.

Nothing to sign up for. TapnWatch works with any provider that follows the common Xtream API or gives out a playlist link. There is no TapnWatch server in between: the viewer's browser talks to your server directly. This page says what a server should answer so that live TV, films and series play well, with sound, in every browser.

1. The API TapnWatch uses

2. Browser access (CORS and byte ranges)

A web page may only read another server's answers when that server allows it. Answer every player path (player_api.php, /live/, /movie/, /series/ and the logos) with:

Film and episode files must answer byte ranges (206 Partial Content). Players jump through a film this way, and TapnWatch reads the first bytes of a film this way to see which picture and sound it carries.

3. Live channels

4. Films and episodes

Before a film starts, TapnWatch reads its first bytes (Matroska Tracks or MP4 moov) and decides:

  1. When the browser plays the file as it is (for example MP4 with H.264 and AAC everywhere, MKV in Chrome and Edge), it plays the file itself.
  2. When it cannot (Dolby or DTS sound, MKV in Firefox or Safari, or the viewer's language is not the file's first sound track), it asks for the HLS version of the film at the same link with .m3u8 instead of the file type: /movie/<user>/<pass>/<id>.m3u8, and for an episode /series/<user>/<pass>/<id>.m3u8.
  3. When that link answers 404, TapnWatch plays the file as it is and tells the viewer if its sound cannot play in a browser.

5. The HLS version of a film

Standard HLS (RFC 8216 and Apple's HLS Authoring Specification), the way media servers offer a film to web browsers:

An example master playlist for a film with English and Spanish sound (the English one also as E-AC-3):

#EXTM3U
#EXT-X-VERSION:7
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="English",LANGUAGE="en",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="2",URI="1234/a0.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="Spanish",LANGUAGE="es",DEFAULT=NO,AUTOSELECT=YES,CHANNELS="2",URI="1234/a1.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="ec-3",NAME="English",LANGUAGE="en",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="6",URI="1234/ac0.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=9000000,AVERAGE-BANDWIDTH=7000000,CODECS="hvc1.2.4.L150.B0,mp4a.40.2",RESOLUTION=3840x2160,FRAME-RATE=23.976,VIDEO-RANGE=SDR,AUDIO="aac"
1234/v.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=9800000,AVERAGE-BANDWIDTH=7600000,CODECS="hvc1.2.4.L150.B0,ec-3",RESOLUTION=3840x2160,FRAME-RATE=23.976,VIDEO-RANGE=SDR,AUDIO="ec-3"
1234/vc.m3u8

And the start of a media playlist:

#EXTM3U
#EXT-X-VERSION:7
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-TARGETDURATION:7
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-MAP:URI="v_init.mp4"
#EXTINF:6.006000,
v_0.m4s
#EXTINF:6.256000,
v_1.m4s
...
#EXT-X-ENDLIST

6. Parental PIN (optional)

If your service locks some categories behind a PIN: add "pin_set": "1" to user_info for a login with a PIN. TapnWatch then shows a PIN box and adds &pin=<PIN> to its player_api.php calls. Answer the locked categories only when the PIN is right. TapnWatch keeps the PIN only until the browser is closed.

7. Test checklist

Questions: [email protected].

Last updated 23 November 2026.