webmedia
Collection of HTML5 media players / viewers.
-
aud*.html: audio players -
img*.html: image viewers -
vid*.html: video players -
playlist-*.html: playlist players
Disclaimer: the files in this repository are just experimental prototypes created for learning and exploration. They are NOT audited, professionally reviewed, or security-hardened. Therefore, the encryption / decryption and handling of media files in this code might contain flaws, vulnerabilities, or implementation mistakes. No guarantees are made regarding correctness, security, performance, encryption strength, or suitability for any purpose. Do NOT use to protect sensitive, personal, confidential, or security-critical data. The code is provided โas isโ without any warranties of any kind, and the author assumes no responsibility or liability for any data loss, exposure, misuse, malfunction, or damage arising from its use.
Usage
Usage examples for single-file media players:
https://dmotte.github.io/webmedia/aud.html#<url-to-audio-file>https://dmotte.github.io/webmedia/img.html#<url-to-image-file>https://dmotte.github.io/webmedia/vid.html#<url-to-video-file>https://dmotte.github.io/webmedia/aud-gdrive.html#<gdrive-file-id>https://dmotte.github.io/webmedia/img-gdrive.html#<gdrive-file-id>https://dmotte.github.io/webmedia/vid-gdrive.html#<gdrive-file-id>https://dmotte.github.io/webmedia/aud-gpg.html#<url-to-gpg-file>https://dmotte.github.io/webmedia/img-gpg.html#<url-to-gpg-file>https://dmotte.github.io/webmedia/vid-gpg.html#<url-to-gpg-file>
Tip: you can add
?playat the end of the URL hash to autoplay the media once loaded.
The *-gpg.html pages can be used to open GPG-encrypted media files created like this:
gpg -c --cipher-algo=AES256 --no-compress --no-symkey-cache -o encrypted.gpg mymedia.mp3
Usage examples for playlist media players:
https://dmotte.github.io/webmedia/playlist-aud.html#<url-to-playlist-file>