Controls the library-wide anti-download flag. When enabled, the player serves video exclusively via HLS streaming and does not expose downloadable assets to end-users.
Block Download
Controls the library-wide anti-download flag. When enabled, the player serves video exclusively via HLS streaming and does not expose downloadable assets to end-users.
ScopeThis setting applies to every video in the library. It is persisted as
LibrarySettings.block_download.
For per-video anti-download configuration, see the pageconfigure-video-offline.
Endpoints in this section
| Method | Path | Page |
|---|---|---|
| GET | /block_download | Get block download status |
| PUT | /block_download | Update block download status |
Behavior
GETreturns{ status: true | false | null }.nullindicates the library has noLibrarySettingsrow yet (very new library).PUTaccepts{ status: boolean }. Non-boolean values are silently dropped — the request still returns200echoing the value you sent, but nothing is persisted. Always send a boolean.- Mutations invalidate the
getLibraryById_{library_id}memcache key and queue an audit log under thesecuritycategory.
