The web player that plays everything.

MKV, Dolby sound, any subtitle, from any storage. Free, 20 KB, no server.

T theatreF full screen↑ volume to 400%C subtitlesI how it's playing⚙ picture shape, fonts, boostjump to the end for the Next card

Why Waldy

MKV in every browserOther players need the browser to open it. Most browsers won't.
Dolby, DTS, TrueHDDecoded in the page. Other players stay silent.
Every subtitleSRT, ASS, VTT, and Blu-ray and DVD picture subtitles.
No server. No converting.Point it at the file you already have.
FastMKV starts and jumps faster than in any other player we tested.
20 KB, free, MITThe heavy parts load only when a video needs them.

Quick start

Copy the dist folder from GitHub next to your page. Then:

<waldy-player src="https://your-storage.example/film.mkv"></waldy-player>
<script type="module" src="dist/waldy-player.js"></script>
<!-- a normal video tag inside: the browser starts loading before the script arrives -->
<waldy-player>
  <video src="film.mp4" playsinline></video>
</waldy-player>
<script type="module" src="dist/waldy-player.js"></script>
import { WaldyPlayer } from './dist/waldy-player.js';

new WaldyPlayer('#player', {
  playlist: [
    { src: 'show/episode-1.mkv', title: 'Episode 1' },
    { src: 'show/episode-2.mkv', title: 'Episode 2' },
  ],
  nextAt: 30,   // Next card in the last 30 seconds; volume, speed and subtitles carry over
});
import { WaldyPlayer } from './dist/waldy-player.js';

const player = new WaldyPlayer('#player', {
  src: 'film.mkv',                          // a link, or a File from an <input>
  subtitles: [{ src: 'film.en.srt', label: 'English' }],
  accent: '#f5d04e',
});
player.on('error', (e) => console.log(e.message));
player.seek(120);
player.setVolume(2.5);                      // 250%

What it plays

VideoMP4MOVWebMMKVMPEG-TSHLS
SoundAACMP3OpusFLACVorbisPCMDolby DigitalDolby Digital+DTSTrueHD
SubtitlesSRTVTTASS / SSATTMLSBVLRCBlu-ray PGSDVD VobSub
Audio filesMP3M4AFLACWAVOggMKA
Linksany direct linkDropbox share linksGoogle Drive share linksfiles from your device

All of these play. The ones most other web players cannot handle: MKV, MPEG-TS, Dolby, DTS, TrueHD, Blu-ray and DVD subtitles, and share links.

What it does not play

AVI, WMV and FLV files. Old picture formats the device cannot decode (MPEG-2, Xvid, VC-1); HEVC only where the device supports it. Fancy ASS styling (fonts, colours, karaoke). Surround output for converted sound: Dolby and DTS come out as stereo. YouTube and Netflix links: those are web pages, not files. DRM-protected streams.

Speed, measured

Same files, same connection, same stopwatch, each player set up as its docs say.

All the numbers, every player

What each player can play

Download size

Script bytes transferred (compressed) before the first picture of a plain MP4.

How it works

The file never changes, only its wrapping. Pick a file:

1

Look inside

Which tracks, which formats.

2

Read the pieces

Only the part you watch.

3

Re-wrap picture

Copied, never re-encoded.

4

Convert sound

Only if the browser can't play it.

5

Browser plays

Subtitles drawn on top.

The longer explanation

Easy way first. If the browser can play a file by itself, Waldy lets it and only adds the controls. That is why a plain MP4 starts as fast as a bare video tag.

Silent sound is caught early. Chrome and Firefox play an MP4 with Dolby sound silently. Waldy reads a few kilobytes of the file as it starts, sees the Dolby track, and takes over before playback begins.

Re-wrapping, not re-encoding. For MKV, the frames are lifted out and placed, unchanged, into small MP4 pieces the browser accepts (Media Source Extensions). That is a copy job, many times faster than the film plays.

Sound is decoded in the page when needed. Dolby, DTS and TrueHD are decoded with WebAssembly and packed as Opus or AAC next to the picture, so they stay in step after every jump.

Only what you watch is downloaded. The player asks the storage for byte ranges, a little ahead of where you are, and drops them when you jump. An MKV chunk starts playing from its first part while the rest arrives.

Docs

Will my storage work? (link checker)

MP4, WebM and MP3 play from any link a video tag accepts. For MKV, Dolby sound and subtitles inside the file, the storage must answer range requests and allow cross-site reads (CORS). Test a link:

Google Drive and Dropbox links

Dropbox: paste the normal share link. It just works, long MKV films included.

Google Drive: share the file as "Anyone with the link" and give the player a free Google API key (Google Cloud Console → switch on the Google Drive API → Credentials → API key). Pass it as googleKey: 'AIza…' or <waldy-player google-key="AIza…">. Google limits how much of one file can be downloaded per day.

To try a Drive link on this page, save your key here (it stays in this browser):

Options
srcA link, or a File from the viewer's device
playlistList of { src, title, subtitles } played one after another
title posterShown on the player
subtitlesExtra subtitle files: { src, label, lang, default }
autoplay muted loopAs on a video tag
resumeContinue where the viewer stopped (on by default)
startAtStart at this many seconds
nextAt autoNextWhen the Next card appears (30 s); move on at the end (on)
audioLanguage subtitleLanguagePreferred languages, e.g. 'Hindi'
accent accent2Colours
googleKeyGoogle API key, for Drive share links
typeForce 'native', 'engine' or 'hls'
fetchSent with every request, e.g. { credentials: 'include' }
Actions and events
load(src, options)Play another file
play() pause() seek(s) seekBy(s)Transport
setVolume(0…4)1 is the file's own level; up to 400%
setAudio(i) setSubtitle(i)Choose a track; -1 turns subtitles off
addSubtitle(linkOrFile) setSubtitleDelay(s)Add a subtitle file; shift timing
next() prev() playItem(i) setPlaylist(items)Playlist
toggleFullscreen() toggleTheatre() togglePip()Display
stats() destroy()Playback details; remove the player

Events, with player.on(name, fn): loadstart tracks error audiochange subtitlechange itemchange theatre ended, plus the usual video events.

Keyboard shortcuts
Play / pause Space
± 5 s ← →
± 10 s J L
± 30 s Shift ← →
Volume to 400% ↑ ↓
Mute M
Full screen F
Theatre T
Picture in picture P
Subtitles C
Subtitle timing G H
Speed < >
Jump to 0–90% 0–9
Next / previous Shift N P
Details I
Phone double-tap a side
Is it really free? Which browsers?

Yes: MIT licence, no account, no key. It builds on Mediabunny (MPL-2.0), its Dolby/DTS/TrueHD decoders (libavcodec, LGPL) and hls.js (Apache-2.0).

Built for current Chrome, Edge, Firefox and Safari, phones included. So far it has been tested end to end in Chrome on a Mac only.