Local File Playback: Drag, Play, Zero Upload

You have a video and want to watch it with a proper player interface: upload to cloud? Slow, and now your privacy depends on someone else. Install desktop software? Overkill for file. ZWPlayer’s answer is the third road — drag the file into the page, the browser parses it locally, and not a single byte leaves your machine. Everything a player should have (subtitles, speed, shortcuts) stays.

Local entry Figure 1: the player with localPlayback on — inviting a drag or a file pick

Enabling It

new ZWPlayer({
  playerElm: 'player',
  localPlayback: true,   // no url needed: wait for the user's file
});

Works on players with an existing video too (the control-bar local button). Drag, click-to-pick, paste — three doors into the same local pipeline.

Local playing Figure 2: a local file playing with the full player experience — the file never left the machine

What Plays

Everything within browser decode: mp4/mkv/webm/mov/m4v/avi/wmv, audio mp3/flac/wav/opus/m4a — subtitle files srt/vtt/bcc drop in as tracks. Detection sniffs the real file type first (extensions lie); unsupported files produce a clear notice, never a black screen.

Three Layers of Privacy

  1. Zero upload: the file becomes a Blob URL fed to <video> — all local memory, no network requests (except explicitly features like translation);
  2. No residue: closing the page releases everything; nothing lands on disk;
  3. Auditable: open devtools Network and verify yourself — beyond static page assets, nothing goes out.

For lawyers, doctors, and finance, “no upload” is not a preference — it is the compliance floor.

Level Up: A Local Media Library

Above single files there is another layer: ZWScan scans a local directory into a playlist (auto-matching same-named subtitles/chapters/thumbnails), then ZWServe serves it — every device on the LAN (TV, tablet) gains access. The standard NAS posture.

Who Uses It

  • Online player sites (like the ZWPlayer player): users drop local files to try the full feature set — the privacy promise is the pitch;
  • Education / review: previewing unreleased material locally;
  • Everyone else: watch a file without installing anything.