DRM-XDeveloper examples

Try DRM-X player for web

Play a protected sample here or open it in the DRM-X player app on a supported device.

Sign in to play

New here? Enter a username and password and choose Create account.

Open in the app

Run the installer. Return here, choose the app icon beside a title, and allow your browser to open DRM-X player app.

Choose a device to see installation and playback options.

PHP setup and sample code

How it works

Your PHP server verifies the viewer’s access, maps the title to an authorized Content ID and requests a DRM-X playback session. Server credentials stay on your server. Register DASH or HLS URLs in DRM-X first if you host the encrypted media yourself.

Try your own video

  1. Extract the complete demo ZIP and open config/drmx.php.
  2. Set siteId, siteKey, accessKey and content.id from the same DRM-X environment, then select vod or live to match the package.
  3. Run a launcher below, visit http://127.0.0.1:8086/ and press Play.
# Windows PowerShell
powershell -NoProfile -ExecutionPolicy Bypass -File .\run-local.ps1
# macOS / Linux
bash ./run-local.sh

Connect your own sign-in and permissions

Disable demo sign-in in production. Connect authenticated_user_id() and user_can_play_content() in src/bootstrap.php to your current login and permission rules. Recheck access before every new session.