Anti-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.


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.

📘

Scope

This setting applies to every video in the library. It is persisted as LibrarySettings.block_download.
For per-video anti-download configuration, see the page configure-video-offline.

Endpoints in this section

MethodPathPage
GET/block_downloadGet block download status
PUT/block_downloadUpdate block download status

Behavior

  • GET returns { status: true | false | null }. null indicates the library has no LibrarySettings row yet (very new library).
  • PUT accepts { status: boolean }. Non-boolean values are silently dropped — the request still returns 200 echoing 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 the security category.