Hi, player.html is a single-file audio + video player web app for media libraries served from basic HTTP directory listings (NGINX/Apache/IIS/etc).
It can be used as:
- A web player for folders of media on a server (NAS/home server/shared
hosting).
- A local media player by installing it as a PWA (where supported).
To use this with a collection of videos under /var/www/htdocs/videos/,
two things are needed:
- directory auto indexing turned on in httpd.conf:
location "/videos/*" {
directory auto index
}
- player.html or player.min.html symlinked to the desired directory:
# cd /var/www/player.html && \
ln -s player.min.html ../htdocs/videos/player.html
Then, navigate to http://example.com/videos/player.html to view the player.
Of course, playback is limited to the container/codec formats supported by
the browser.
ok?
--
Anthony J. Bentley
player.html.tar.gz
Description: GNU Zip compressed data
