Core service · web interface

The web player

1.2.0 public beta · Web player

The core service's web interface has a player of its own: click a video, a song, a disc image or a CUE sheet in the file manager and it plays right in the browser, with no app to install and no media server needed. With the media server on, films and music on the Media pages play in it too. The browser handles formats it can play directly; other supported formats are demuxed, decoded and rendered in the page. This covers most common audio and video formats without server transcoding; supported formats and output limits are detailed below.

Where it plays

From the file manager or a library

File manager

In the web interface's file manager, click a video, a song, a disc image (.iso), a CUE sheet, or the index.bdmv in a Blu-ray folder, and it opens in the player. The videos or songs in the same folder play one after another; N and P move between them. No media server is needed.

The place you stopped is kept in this browser, and the same file picks up there next time.

Media libraries

With the media server on, films, shows and music on the Media pages play in this player too. Progress and watched marks sync with the server, so your other devices and the CloudDrive2 App see them; a show's intro and ending can be skipped and the next episode plays when one ends; a film in several parts plays them in turn. See watching in a browser.

Plans

Playing from the file manager needs no plan. HDR, Dolby Vision, Blu-ray ISOs, DSD and SACD need App Pro, with a 10-second demo without it. The Media pages need the media server: the server's account must have both a core plan and App Pro. See plans and pricing.

Video

Playing video

Formats

  • Formats: what the browser can play itself goes to the browser, and the rest is decoded in the page: MKV, MP4, AVI, TS, M2TS, FLV, MPG, VOB and OGG; H.264, HEVC, AV1, VP9, MPEG-2 and MPEG-4 pictures; AC-3, E-AC-3, DTS, TrueHD, FLAC, Opus and other sound. The two ways offer different features; see two ways to play.
  • Blu-ray ISOs play their main title, with its audio tracks, subtitles and chapters; the server reads the disc. A Blu-ray folder opens from its index.bdmv in the file manager. There are no disc menus.
  • HDR: when the browser plays the video itself, HDR shows as far as the browser and the display allow; decoded in the page, it may be shown as SDR.
  • Dolby Vision: Safari plays profiles 5 and 8 as Dolby Vision, switching TrueHD and DTS sound to an AC-3, E-AC-3 or AAC track in the same language. Chrome and Edge turn profile 5 into an SDR picture with the right colours using WebGPU, and show the HDR10 base of the others.
  • Sound: Dolby Atmos and DTS:X play their base channels, and DTS-HD MA on a Blu-ray plays its core. Sound decoded in the page comes out in stereo.
  • An MP4 whose pictures carry no display times plays smoothly instead of shaking.
  • What it can't play (DVDs, VC-1, RMVB, WMV and so on) shows Copy link and Download, for VLC, IINA, PotPlayer or Infuse, or play it in the CloudDrive2 App.

Subtitles and controls

  • Subtitles: SRT, WebVTT and PGS, both beside the video and inside the file. ASS/SSA files beside the video show with all their effects; ASS inside the file is drawn in a simpler way. .srt, .vtt, .ass, .ssa and .sup files beside the video are listed by themselves, and text subtitles that aren't UTF-8 are read as GB18030. One subtitle shows at a time.
  • Layout: the control bar and panels are the apps' player's, with a phone layout in a phone's browser. There is a chapter list, chapter ticks on the seek bar, an episode list, and Video Info and title panels.
  • Picture: when the browser plays the video itself you can choose Fit, Fill or Stretch, and there is a Pan & Scan button, picture-in-picture, and AirPlay in Safari; decoded in the page, none of these are there.
  • Speed: 0.25× to 3× when the browser plays it, up to 2× when decoded in the page.
  • Full screen: double-click the picture or press F. A phone turns to landscape in full screen, and on iPhone videos decoded in the page go full screen too.
  • Keys: Space or K to pause, ← → to go back or forward 5 seconds (10 with Shift), ↑ ↓ for volume, M to mute, F for full screen, N and P for next and previous, A and C to cycle audio and subtitles, Esc to leave. On a phone, double-tap the left or right side to go back or forward 10 seconds.
  • The time at the end of the seek bar switches between the length and the time left. On a page opened over HTTPS the screen stays on while a video plays.
Open it over HTTPS

Hardware decoding through WebCodecs needs a secure context, such as HTTPS or localhost or 127.0.0.1 on the computer itself, plus support from the browser, device and video codec. Ordinary http://<LAN address> does not provide that ability. The browser's own player may still use hardware decoding if it supports the video and sound, but smooth playback of every 4K or HDR video is not guaranteed. See hardware decoding in Chrome and Edge.

Two ways to play

The player first asks whether the browser can play the video itself: if the container and the video and audio codecs are ones the browser supports (MP4, WebM, and MKV in Chrome and Edge), no subtitle inside the file is chosen, and it isn't Dolby Vision, the browser plays it; otherwise it is decoded in the page. "Played by" under Video Info says which: "The browser's player" or "Decoded in the page". Choosing a subtitle inside the file while playing, or switching audio tracks in any browser but Safari, moves playback to the page's decoder, carrying on from the same moment.

At an ordinary remote HTTP address, the page cannot use hardware decoding through WebCodecs, so the player tries handing a 4K or HDR picture to the browser's own player. Local http://localhost and http://127.0.0.1 are secure contexts and are not subject to that restriction. The browser's player only goes with a sound it plays itself: AAC, plus AC-3 and E-AC-3 in Safari and Edge. When the sound is DTS or TrueHD (a Blu-ray ISO, say), a track of that kind in the same language plays instead, with a notice, and the original can't be switched back to; without such a track the picture is decoded in the page in software, and 4K may skip frames. Smooth playback also depends on the device, browser, codecs and network.

What works when the browser plays a video and when it is decoded in the page
FeaturePlayed by the browserDecoded in the page
Hardware decodingDepends on the browser, device and codecNeeds HTTPS or a local secure address, plus browser, device and codec support
HDRAs far as the browser and display allowMay be shown as SDR
Fit, Fill, Stretch, Pan & Scan✓—
Picture-in-pictureWhere the browser supports it—
AirPlaySafari—
Speed0.25× to 3×0.25× to 2×
Subtitles inside the fileMoves to decoding in the page✓
Switching audio tracksSafari; other browsers move to decoding in the page✓
Subtitles beside the video, chapters, full screen, keys, Video Info✓✓

Music

Playing music

Formats

  • MP3, AAC, FLAC, Apple Lossless (ALAC) and APE are supported; see Two ways to play below for the decoding paths. WAV, Opus and OGG usually play through the browser, so support depends on the browser. WavPack, TTA and a few others don't play.
  • DSD: DSF and DSDIFF files, DST-compressed ones included, are turned into PCM in the page. A SACD ISO plays the tracks of its stereo area, cut into tracks by the server.
  • CUE sheets play track by track. DTS-CD rips (DTS in WAV) are decoded and play in stereo.
  • Dolby Atmos: E-AC-3 Atmos in M4A plays through the system's Dolby decoder in Safari and Edge; other browsers play its 5.1 bed, folded to stereo.
  • High-resolution music plays at the browser's output sample rate.
  • Two ways to play: in a browser on a computer, FLAC, MP3, AAC-LC in M4A, Apple Lossless, APE, DSD, SACD, DTS and AC-3 are decoded in the page, so songs join with no gap but the speed can't change; HE-AAC, Opus, OGG and ordinary PCM WAV are played by the browser, so the speed can change but there is a short pause between songs. On phones and tablets FLAC, MP3 and AAC are played by the browser, so they keep playing with the screen locked, with a short pause between songs except for CUE tracks in one file.

The music player

  • A full player: cover, format badges (DSD, Hi-Res, lossless, channels, Atmos), and MusicBrainz credits and release details.
  • Lyrics: an .lrc file beside the song, or lyrics in the song's tags; the current line follows the music, and clicking a line plays from there.
  • Queue: play next, move to the end, remove, clear; shuffle, repeat all and repeat one.
  • Mini player: collapsed, it sits at the bottom of the page and keeps playing while you browse; the lock screen and the system's media controls can pause and change songs. It stops when you leave the page.
  • Sleep timer: 15, 30, 45 or 60 minutes, or the end of the song. Songs played by the browser can go from 0.5× to 2×, and holding on a phone plays at 2×.
  • Continue Listening on the library home lists the albums you played lately.

Requirements

Browser and computer requirements

The web player uses newer browser features. The table gives the oldest browser version each one needs; the latest Chrome, Edge or Safari is best.

The oldest browser version each web player feature needs
FeatureChrome, EdgeSafari (Mac, iPhone, iPad)Firefox
Played by the browser (MP4, WebM…)Current versionsCurrent versionsCurrent versions
Decoded in the page (MKV, Blu-ray ISO, DTS, TrueHD, DSD…)91 or later16.4 or later (iOS, iPadOS 16.4)89 or later
Hardware decoding in the page *94 or later16.4 or later130 or later
Decoding on several threads *96 or later—119 or later
HEVC hardware decoding107 or later✓Depends on the system
Dolby Vision profile 5 in the right colours *113 or later (WebGPU; 121 on Android)Plays as Dolby Vision—

* Needs the page opened over HTTPS or on the computer itself. At an http address, 4K and HDR pictures go to the browser's own player, and most play smoothly in Safari; see hardware decoding in Chrome and Edge.

Computers and phones

  • Software decoding, at an http LAN address or when the graphics chip lacks the codec, runs on the processor. Recent computers usually play 1080p H.264 smoothly. Hardware decoding is preferred for 4K HEVC and AV1; software-decoding performance depends on the processor, video bitrate and playback path.
  • HEVC in hardware (10-bit included): Intel 7th-generation Core graphics or later, NVIDIA GTX 10 series or later, AMD RX 400 series or later, Macs from 2017 on and every Mac with Apple silicon.
  • AV1 in hardware: Intel 11th-generation Core graphics or later, NVIDIA RTX 30 series or later, most AMD RX 6000 series cards and later, Apple M3 and later.
  • Dolby Vision profile 5 in Chrome and Edge uses software decoding in the page and WebGPU to produce correctly coloured SDR. Version 1.2.0 improves 10-bit HEVC decoding and threading on Windows; smooth profile 5 playback with correct colours has been verified on a physical PC. This is not a guarantee of smooth 4K playback on every device. WebGPU, multithreading and a secure context are required; insufficient performance can still trigger a warned fallback with incorrect colours.
  • Phones and tablets rely on hardware decoding. iPhone and iPad need iOS or iPadOS 16.4 or later.

What a browser can't do

  • A browser can't send Dolby, DTS or TrueHD to an AV receiver as a bitstream, take the sound card for itself, or pass DSD to a DAC untouched; sound decoded in the page comes out in stereo.
  • A browser can't switch a TV or display's frame rate or HDR mode.
  • There are no Blu-ray or DVD disc menus, and DVDs and VC-1 video don't play (Copy link opens them in another player).
  • For any of these, use the CloudDrive2 App; it connects to the same media server.

Comparison

The web player and the apps

The web player needs nothing installed: open the web interface and watch. The CloudDrive2 App's player plays more formats, can bitstream sound to an AV receiver and switch the TV's display mode, and has disc menus and live AI subtitles. Apple here means Mac, iPhone, iPad, Apple TV and Apple Vision Pro; Android means Android phones, tablets, TV boxes and Meta Quest. As of 1.2.0.

Video and HDR

Video formats and HDR: the web player and the apps
FeatureWeb playerAppleAndroidWindows
ContainersMKV, MP4, TS, AVI, FLV and more; not RMVB or WMV✓ incl. RMVB, WMV✓ except RMVB✓ incl. RMVB, WMV
Video codecsH.264, HEVC, AV1, VP9, MPEG-2; not VC-1✓ incl. VC-1The device's decoders✓ incl. VC-1
Hardware decodingNeeds HTTPS or a secure address; at an http address 4K and HDR go to the browser's player✓✓✓
HDR10, HLGWhen the browser plays it; may be SDR when decoded in the page✓✓✓
Dolby Vision profiles 5 and 8Dolby Vision in Safari; in Chrome and Edge, profile 5 as SDR and profile 8 as HDR10✓✓✓
Dolby Vision profile 7 full enhancement layerHDR10 base layer only✓✓ as SDR on TVs✓
Switch the TV's frame rate and HDR mode—Apple TV; Mac refresh rate onlyTV boxes✓

Discs and sound

Discs and sound output: the web player and the apps
FeatureWeb playerAppleAndroidWindows
Blu-ray ISOMain title only✓✓✓
Blu-ray folder (BDMV)From the file manager, not from a library✓✓✓
Blu-ray menus (HDMV)—✓✓ 64-bit devices✓
BD-J menus—Mac, downloaded from this site✓ ARM devices✓
Choose a disc's title—✓✓✓
DVD ISO—Main title and titles, no menusMain title, no menusTitle list
3D Blu-ray—Apple Vision ProMeta Quest—
Bitstream to an AV receiver (Dolby, DTS, TrueHD)—Mac; Apple TV and iPhone for Dolby Atmos (E-AC-3)TV boxes✓
Multichannel PCM (5.1, 7.1)Stereo when decoded in the page✓✓✓
Audio delay—✓✓✓

Subtitles

Subtitles: the web player and the apps
FeatureWeb playerAppleAndroidWindows
SRT, WebVTT, subtitles beside the video✓✓✓✓
ASS with effectsFull beside the video; simpler inside the file, without the MKV's fonts✓✓✓
PGS picture subtitles✓✓✓✓
DVD subtitles (VobSub)——✓✓
Subtitle delay, size and position—✓✓✓
Live AI subtitles while playing—✓✓✓
Generate AI subtitles for a titleMade by the media server✓✓✓
Screen reader reads subtitles—✓Phone, TV✓

Playback controls

Playback controls: the web player and the apps
FeatureWeb playerAppleAndroidWindows
Resume, progress synced across devicesSynced from a library; kept in this browser from the file manager✓✓✓
Remembered audio and subtitle choicesKept in this browser✓✓✓
Chapters✓✓✓✓
Seek bar preview pictures—✓✓✓
Skip intro and ending, play the next episode✓✓✓✓
Speed0.25× to 3×; up to 2× when decoded in the page0.25× to 8×0.25× to 2×0.5× to 2×
Frame by frame—Mac, iPad (keyboard)—✓
Aspect ratio and zoomFit, Fill, Stretch, Pan & Scan, only when the browser plays it✓✓✓
Rotate, flip—✓✓✓
Deinterlacing—✓Some formats✓
A-B repeat—✓✓✓
Picture-in-pictureWhen the browser plays itiPhone, iPad, Apple TVPhone, tablet—
CastingAirPlay in Safari, when the browser plays itAirPlay——
Playback statisticsVideo Info✓✓✓
VR and 360° video—Apple Vision ProMeta Quest—
Play from an Emby or Jellyfin serverImport its libraries only✓✓✓
Parental controls✓✓✓✓

Music

Music: the web player and the apps
FeatureWeb playerAppleAndroidWindows
Lossless formatsFLAC, ALAC, APE, WAV; not WavPack or TTA✓ incl. WavPack, TAK, TTA✓ incl. WavPack, TAK, TTA✓ incl. WavPack, TAK, TTA
DSD (DSF, DFF)Played as PCM✓✓✓
SACD ISOStereo area only✓ incl. multichannel✓ incl. multichannel✓ incl. multichannel
CUE sheets✓✓✓✓
Native DSD, DoP, exclusive output—Mac; DoP to a USB DAC on iPhone and iPadUSB DAC driven directlyWASAPI exclusive, DoP, native DSD over ASIO
Multichannel music—✓✓✓
Dolby Atmos musicWhere the browser has the system's Dolby decoder (Safari, Edge); elsewhere the 5.1 bed in stereo✓Bitstream, or the device's Dolby decoderBitstream to an AV receiver
GaplessIn a browser on a computer, for formats decoded in the page✓✓✓
Synced lyrics, click a line to play from it✓✓✓✓
Queue, shuffle, repeat✓✓✓✓
Mini player and system media controls✓✓Phone, TVSystem media controls and the tray
Sleep timer✓✓✓✓

The web player and the apps follow the same plan rules: HDR, Dolby Vision, Blu-ray ISOs, DSD and SACD need App Pro, with a 10-second demo without it; the web interface's Media pages also need a core plan's media server. See plans and pricing.

Browsers

Hardware decoding in Chrome and Edge

The page's WebCodecs decoding path needs a secure context: HTTPS, or the computer itself (localhost, 127.0.0.1), plus support from the browser, device and codec. Ordinary http://<LAN address> cannot use that hardware decoding path. Files supported by the browser's own player can still play there; others may need software decoding, and 4K HEVC and similar videos may skip frames. This part explains what is missing, the ways around it, and how to have Chrome and Edge treat your server's address as secure.

What an HTTP page goes without

What the player can use on an HTTPS page and on an HTTP LAN page
FeatureHTTPS or the computer itselfhttp://LAN address
Hardware decoding (WebCodecs)Available when the browser, device and codec support itNone: the page's decoder runs in software
Decoding on several threadsChrome, Edge; also needs cross-origin isolationNone: software decoding is slower still
WebGPU✓None: Dolby Vision profile 5 shows the wrong colours in Chrome and Edge
Screen stays on while playing✓No

Files the browser plays by itself (H.264 in MP4, for example) aren't affected. What suffers is video decoded in the page: formats and sound the browser can't play itself, such as MKV with TrueHD or DTS sound, Blu-ray ISOs, and Dolby Vision in Chrome and Edge. Software decoding usually keeps up with 1080p H.264; when 4K HEVC can't, the player says so and shows the steps below.

When an ordinary remote HTTP page cannot use hardware decoding through WebCodecs, the player tries handing a 4K or HDR picture to the browser's own player. That player may still use the system's hardware decoding, depending on the browser, device and codec, but smooth playback is not guaranteed. It only goes with a sound it plays itself: AAC, plus AC-3 and E-AC-3 in Safari and Edge. When the sound is DTS or TrueHD (a Blu-ray ISO, say), a track of that kind in the same language plays instead, with a notice; without such a track the picture is still decoded in the page in software, and 4K may skip frames. Safari can also play Dolby Vision directly on supported devices, but HDR, Dolby Vision and high-bitrate playback still depend on the device and network. HTTPS or a local secure address is recommended for the page's decoding path.

Three ways around it

  • Open it over HTTPS: under Settings → Web Server in the web interface, turn on HTTPS (port 19799 by default) and set up a certificate. The certificate must match the name in the address bar or the browser warns; with a domain of your own you can use a free certificate such as Let's Encrypt, or serve HTTPS through Nginx, Caddy or your NAS's reverse proxy. The self-signed certificate the core service makes covers only localhost and 127.0.0.1, so at a LAN address the browser warns that it isn't trusted. Always use HTTPS from outside your home.
  • Open it on the server itself: on the computer running the core service, http://localhost:19798 is already a secure address. This only helps on that one computer.
  • Treat the LAN address as secure: the simplest on a home network. Chrome and Edge both have the setting; the steps are below. Chrome on Android phones, tablets and TV boxes has it too, with the same steps.

Safari (Mac, iPhone, iPad) has no such setting; the formats its own player can play depend on the system and device. See "What an HTTP page goes without". Use HTTPS when the page's decoder is needed or the player says it can't keep up. Chrome and Edge on iPhone and iPad don't have this setting either, so use HTTPS; Safari is another option for native playback. In Firefox, open the page over HTTPS, or play in the CloudDrive2 App.

Setting it up in Chrome and Edge

  1. Note the page's address

    Note the web interface's address from the address bar, from the start up to the port, for example http://192.168.1.20:19798: with http:// and the port, without the /?page=… after it. It's the address the player's notice shows.

  2. Open the browser's setting

    Type the address below into the address bar and press Enter. A web page can't open the browser's own settings pages for you, so copy it and paste it into the address bar; the player's notice has a Copy settings address button.

    chrome://flags/#unsafely-treat-insecure-origin-as-secure
    edge://flags/#unsafely-treat-insecure-origin-as-secure

    The first is for Chrome, the second for Edge. The page highlights the entry called Insecure origins treated as secure.

  3. Add the address and enable it

    Enter the address from step 1 in the entry's text box. If you reach the same server at more than one address (its IP address and its host name, say), or have another server, separate them with commas: http://192.168.1.20:19798,http://nas.local:19798. Then set the choice beside it to Enabled.

  4. Relaunch the browser

    Click Relaunch at the bottom of the page. The browser closes every window and opens again, with your tabs restored.

  5. Check that it worked

    Open the web interface again and play: the notice that the page isn't open over HTTPS no longer appears. You can also press F12 for the developer tools, type isSecureContext in the Console and press Enter; true means it worked.

Still decoding in software

  • The address must match exactly: http or https, IP address or host name, and the port must all be the same as in the address bar. If the server's IP address changes (the router hands out a new one), add it again; giving the server a fixed address on the router avoids this.
  • Turn on graphics acceleration: in Chrome, Settings → System → "Use graphics acceleration when available"; in Edge, the graphics acceleration switch under Settings → System and performance. Relaunch the browser afterwards.
  • Check the browser's GPU page: open chrome://gpu or edge://gpu; the "Video Decode" line should say Hardware accelerated.
  • HEVC: Chrome decodes HEVC on the graphics chip from version 107 on Windows, macOS and Android; Edge on Windows also needs the HEVC Video Extensions from the Microsoft Store.
  • The graphics chip lacks the codec: older graphics can't decode HEVC 10-bit or AV1, for example, and the browser decodes in software anyway; play it in the CloudDrive2 App.
  • A computer managed by work or school: an administrator may have turned flags off; ask them to set the policy below.

Setting it by policy (several computers)

Chrome and Edge both have the OverrideSecurityRestrictionsOnInsecureOrigin policy, which does the same as the setting above and suits setting up several computers at once. Once the policy is set, the flag entry no longer takes effect. On Windows, in a Command Prompt run as administrator:

reg add "HKLM\SOFTWARE\Policies\Google\Chrome\OverrideSecurityRestrictionsOnInsecureOrigin" /v 1 /t REG_SZ /d "http://192.168.1.20:19798" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge\OverrideSecurityRestrictionsOnInsecureOrigin" /v 1 /t REG_SZ /d "http://192.168.1.20:19798" /f

A second address goes under the name 2, and so on. On Linux, create a JSON file in /etc/opt/chrome/policies/managed/ (for Edge, /etc/opt/edge/policies/managed/):

{ "OverrideSecurityRestrictionsOnInsecureOrigin": ["http://192.168.1.20:19798"] }

After relaunching the browser, the policy shows in chrome://policy or edge://policy. On macOS the policy has to be installed with a configuration profile; on a personal Mac, the flag above is simpler.

This doesn't encrypt the connection

It only makes the browser treat the address as secure; the connection is still plain, unencrypted HTTP, and other devices on the same network can see what passes over it, sign-ins included. Add only your own server's address on your home network, never a public network's or someone else's, and use HTTPS from outside your home.

Questions

Common questions

The player says the page isn't open over HTTPS

Opened at http://<LAN address>, the browser won't let the page use hardware decoding, and a 4K video whose sound the browser can't play itself is decoded in the page and can't keep up. Open it over HTTPS, have Chrome and Edge treat the address as secure, or use Safari; see hardware decoding in Chrome and Edge.

Some videos won't play

Browsers can't play DVDs, VC-1, RMVB, WMV and a few others; the page shows Copy link and Download, for VLC, IINA, PotPlayer or Infuse, or play them in the CloudDrive2 App. In a browser that is too old, decoding in the page isn't available either; see browser and computer requirements.

4K video stutters or skips frames

First check that the graphics chip decodes this codec in hardware, and that the page is open over HTTPS or at a secure address (in Safari most videos are fine at an http address); see browser and computer requirements. Dolby Vision decoded in the page (profile 5 in Chrome and Edge) runs on the processor, so 4K needs a fast computer. The cloud's speed matters too: the core service reads the video from your cloud storage, and the download speed has to stay above the video's bitrate.

When checking software-decoding performance, close Developer Tools and reload the page before testing; Developer Tools can slow decoding. For a trusted LAN HTTP address, follow the Chrome / Edge instructions to treat that specific server as a secure origin. Use HTTPS for remote access.

No sound, or only stereo

Safari lets a page make sound only after a click; when the page says the sound is held, click anywhere on it. Sound decoded in the page comes out in stereo, and a browser can't bitstream Dolby or DTS to an AV receiver; for multichannel or bitstream output, use the CloudDrive2 App.

Does my progress sync to other devices?

From a library, yes: progress and watched marks sync with the media server, and your other devices and the CloudDrive2 App see them. From the file manager, the place is kept in this browser only.

Report a problem

File problems as GitHub issues, where they are recorded and tracked; you can also report them in the Telegram group or by email.