Home

The www/player.html port

player.html-2.38.0 – single-file drop-in media player web app (cvsweb github mirror)

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).
WWW: https://github.com/pseudosavant/player.html

Readme

+-------------------------------------------------------------------------------
| Running ${PKGSTEM} 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.

Maintainer

The OpenBSD ports mailing-list

Categories

multimedia www

Files

Search