single-file drop-in media player web app
Project homepage: https://github.com/pseudosavant/player.html
Description
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).
Package information
- Ports path
- www/player.html
- Package architecture
- *
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- multimedia, www
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
None listed.
OpenBSD README
+-------------------------------------------------------------------------------
| Running player.html on OpenBSD
+-------------------------------------------------------------------------------
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.