Skip to content

ballerburg9005/M3U-IPTV-HTML-SUCKLESS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

About

You would think that an IPTV web player is a simple thing. Just a HTML video element, then a list of the channels, a way to supply an M3U file, perhaps some styling so it works on different screen configurations and phones, perhaps a search bar.

Yes it is that simple. But if you look at other projects like IPTVnator, the repo downloads 900MB (!), it is written in Angular (enterprise garbage), pulls a gazillion NPM dependencies, takes 30 minutes to set up for necessary non-standard "no npm" dev workflow, 3 minutes to compile, and has the worst of all stereotypical "100 full-time employees can't add a simple view counter below Twitter posts in 5 years" sickness of such frameworks. Even AI couldn't deal with it, because the codebase is so massive and Angular is just so retarded that it can't produce intelligible code for it in reasonable non-enterprise timeframes. Then some players need Node JS servers, some need this and that, enforced access control for all content/playlists inside hardline user/session isolation and storage, needs backend server, docker-ized containers, Ruby x86 blobs make it impossible to run on Ampere/ARM server ... Why? Some players might be simpler, but they are also pretty basic - not unlike what you get from ChatGPT on first try. Then also even the most sophisticated IPTV projects don't really support mobile views and rotated screens, or not at all. And some have huge clunks.

Anyway... I hope this rambling spares you the Odyssee of trying to identify the "right" IPTV player.

Put this player on any webserver, supply your playlist and it just plays instantly for anyone.

Why all this nonsense with the other projects?

Demo

https://ballerburg9005.github.io/M3U-IPTV-HTML-SUCKLESS/?c=2362

Features

  • pure HTML/JS single file 300 lines of code
  • instantly plays M3U from variable in code, or uploaded file, or URL
  • widescreen / tallscreen
  • full mobile phone layout support
  • rotates fullscreen video to widescreen on mobile even if rotation locked via CSS (Firefox only)
  • search bar
  • subtitles, audio tracks, quality selection, skipback, normal video controls
  • "find back" button to scroll channel list to current channel
  • use ?c=123 or ?channel=123 to select channel via URL
  • channel share button for Android / clipboard button for PC

Screenshots (PC & Mobile)

Image

*Some Improvements were made since then.

Known Issues

  • fullscreen rotation hack for locked rotation 2 ugly on Chrome and no interest to test & implement

Development

Paste code into Grok Expert and fix it, then test if all features mentioned in the list still work right and do PR.

I just made this project today and it just works for me. So no real interest do do anything more at this point if no one else uses it.

About

A simple pure HTML/JS file that just nicely plays M3U IPTV files with proper mobile rendering, tallscreen support, etc. - written out of frustration because IPTVnator and others suck.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages