mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 18:36:15 -08:00
Xtream Codes live streams with .ts format serve continuous raw MPEG-TS data over HTTP, not HLS playlists. All three embedded players failed to handle this: ArtPlayer had no handler, HTML5 player fed it to HLS.js, and Video.js tried to parse it as an HLS manifest. Add mpegts.js to handle raw MPEG-TS streams via Media Source Extensions in ArtPlayer, HTML5 player, and Video.js. Fix the MIME type for .ts sources from application/x-mpegURL to video/mp2t.