# Content Protection

ByteArk Player SDK for Web supports two tiers of content protection: basic encryption that works out of the box, and full DRM for Premium content.

# Encryption

Symmetric-key encryption for use cases that need basic content protection. Supported through the HTML5 video element directly — no license server or additional plugin required.

System Guide
HLS ClearKey Supported by default — no special setup required

# Browser support

Browser (OS) Status
Chrome, Edge, Firefox (Desktop) Supported
Safari on macOS / iOS / iPadOS Supported (via HLS native playback)
Android Chrome Supported

# Digital Rights Management (DRM)

Note

The DRM feature of ByteArk Player is available only to ByteArk Video Cloud for Business customers. Please contact sales@byteark.com if you would like to use this feature.

Full content rights management for Premium content. Uses a separate license server to obtain decryption keys at playback time, with hardware-backed playback and broad device support.

DRM Guide
Google Widevine Used by Chrome, Edge, and Android
Apple FairPlay Used by Safari on macOS, iOS, and iPadOS

# Browser support

DRM Browser (OS)
Apple FairPlay Streaming (FPS) (opens new window) Safari 14+ on macOS 10.11+ (El Capitan)
Safari on iOS 12+
Safari on iPadOS 13+
Google Widevine (opens new window) Google Chrome 70+ on Desktop
Google Chrome 70+ on Android
Microsoft Edge 107+ on Windows and macOS

# Enabling DRM on ByteArk Player

Enable DRM by setting plugins.bytearkShaka in options and configuring the drm field on the Source object for the DRM you want to use (Widevine or FairPlay). The same plugin supports both systems.

Note: DRM playback must be served over HTTPS.

var player = bytearkPlayer('video-player', {
  sources: [
    // source object with drm field
  ],
  plugins: {
    bytearkShaka: {}
  }
});
1
2
3
4
5
6
7
8

See the per-DRM guides for Google Widevine and Apple FairPlay for full examples.

Note

For more information or to enable DRM, contact our team at support@byteark.com.