DRM-X 6.0 鳩とオリーブの枝のロゴDRM-X 6.0ドキュメント
◎ 日本語

LearnDash video DRM: embed Universal Player

Install the DRM-X 6.0 LearnDash integration, fix enrolled-learner access errors, embed protected lessons and test enrollment, drip schedules and progression.

Markdown を表示動作サンプルUpdated 2026-09-21

再生が許可されるまでの流れ

視聴できるユーザーは、お客様のバックエンドが判断します。DRM-X は再生の認可情報を返し、プレーヤーはその情報を使って DRM ライセンスをリクエストします。

  1. 視聴者

    お客様のサービスにログインし、動画の再生をリクエストします。

  2. お客様のバックエンド

    購入履歴、サブスクリプション、その他の視聴権限を確認します。

  3. DRM-X

    選択した再生ルールを適用し、再生設定と認可情報を返します。

  4. プレーヤー

    受け取った認可情報を使い、再生に必要な DRM ライセンスをリクエストします。

バックエンドはアクセスを決定します。DRM-Xは署名されたポリシーを強制します。暗号化されたメディアとDRMのライセンスは、別の配送パスに従います。

Before you begin#

Publish a protected video in DRM-X 6.0 and copy its Content ID. Create server integration credentials with license-tokens:create permission. Keep Site ID, Site Key and Access Key in server configuration; only short-lived playback data reaches the browser.

Serve the learning site over HTTPS. HTTP localhost works only on the same computer; an HTTP LAN address does not provide the secure context required for browser DRM. Test with a supported browser and your actual content.

Install the LearnDash integration#

Install LearnDash separately using your licensed vendor package. Download the DRM-X WordPress install ZIP from this guide and upload it through Plugins → Add Plugin → Upload Plugin. Upgrade the existing DRM-X 6.0 Universal Player plugin to 1.3.0-preview.5; use only one copy of the shared WordPress plugin.

Open Settings → DRM-X 6.0, save the server credentials and choose LearnDash or automatic LMS detection. Select a default protection policy matching your encrypted package. A blank lesson policy inherits the course, site and then DRM-X environment policy.

Download WordPress install ZIP · Download LearnDash integration source

Embed Universal Player in a lesson or topic#

Open LearnDash LMS → Courses and confirm the lesson is in the course curriculum. Then open LearnDash LMS → Lessons and edit that lesson as a WordPress administrator. For a topic, edit the topic itself and retain its parent lesson association.

In Gutenberg, add DRM-X Protected Video and enter Content ID, content type and protection policy. In the classic editor, enter these values in the DRM-X Protected Video panel below the content. Under Course and access rules, select LearnDash. A single linked course is detected automatically; for a shared step select the course whose access rules should apply.

Publish or update the lesson. With the classic editor, copy the player shortcode into the lesson content. In Gutenberg you may instead use a Shortcode block. Do not put a shortcode or encrypted manifest in LearnDash’s Video URL field. Reload the editor to confirm the mapping was saved, then open the native lesson as an enrolled learner.

[drmx_player]
[drmx_player post_id="123"]

Enrollment, shared steps and progression#

Both the lesson page and the playback REST endpoint check the current WordPress user, exact saved Content ID/type and actual course curriculum. The selected course and parent steps must be published. Course enrollment, expiry, prerequisites, course points, lesson and parent drip schedules, and linear progression must allow access. Additional membership restrictions still apply.

The Universal Player does not automatically mark LearnDash lessons complete or drive LearnDash Video Progression. Use the normal lesson completion workflow. Do not enable a video-completion requirement that depends on LearnDash’s separate video provider unless you implement and test a completion bridge.

Fix “Your account does not currently have access to this video”#

In the earlier DRM-X adapter, LearnDash 4.10.1 course titles were incorrectly read as course IDs, and a protected course-model method was treated as a public API. Version 1.3.0-preview.5 fixes both mismatches. Upgrade DRM-X, clear page caches, re-save the lesson mapping and confirm the linked course name.

If access is still denied, check the learner’s enrollment, expiry, prerequisites, schedule and membership requirements. For shared steps, check the explicitly selected course. Exclude protected lesson pages and /wp-json/drmx/v1/playback-session from shared caching. Keep the LMS adapter enabled when troubleshooting paid courses.

What was tested#

Using the supplied LearnDash 4.10.1 package on isolated WordPress 7.1, 24 native checks passed. The original rejection was reproduced before the fix. After the fix, an authenticated learner’s native lesson displayed Universal Player at Ready. The fixture contains no DRM-X credentials, so decrypted video playback remains to be verified with your content. Other LearnDash versions and paid extensions require separate acceptance.

Integration source downloads · Universal Player Web guide · License policies · DRM for education · Multi-DRM protection