BMDRM Video Player

外掛說明

BMDRM Video Player allows you to embed secure, DRM-protected videos from your BMDRM account into WordPress posts and pages.

Videos are streamed using industry-standard DRM and can only be viewed by authenticated users. The plugin works out of the box using either a shortcode or a Gutenberg block.

All communication with BMDRM happens server-side, keeping your API key secure.

Features

  • DRM-protected video playback
  • Shortcode and Gutenberg block support
  • Server-side API handling (API keys never exposed)
  • Logged-in user access control
  • Responsive video player
  • Simple admin settings page
  • Rate limiting for API protection

Requirements

  • WordPress 5.0 or later
  • PHP 7.4 or later
  • BMDRM account with API key
  • Users must be logged in to view videos
  • HTTPS is required on production sites
    • HTTP works only on localhost for development

Usage

Shortcode

Embed a video using:

[bmdrm video="YOUR_VIDEO_ID"]

Example:
[bmdrm video=”15c7b691-f5e5-4dba-84e5-584b91352ce5″]

Gutenberg Block

  1. Open the block editor
  2. Add the BMDRM Video block
  3. Paste your video ID (GUID format)
  4. Publish or update your post

External services

This plugin relies on the BMDRM (video-crypt.com) third party service to deliver DRM-protected video playback. It is required for the plugin to function: without it, no video can be played.

What the service is and what it is used for:
BMDRM is a commercial DRM and secure video streaming service provided by BMDRM. The plugin uses it to request a short-lived, secure playback session URL for each embedded video. The returned URL is then loaded inside an iframe so the end user can watch the DRM-protected video.

What data is sent and when:
Every time a logged-in user views a page containing a [bmdrm] shortcode or a BMDRM Video block, your WordPress site makes a server-side request to https://cdn-lb.video-crypt.com/api/Sessions containing:
* The video ID configured in the shortcode/block (set by the site administrator).
* The current WordPress user’s username (user_login), used by BMDRM to bind the session to the viewer.
* Your BMDRM API key, sent as an apiKey HTTP header (stored on your server, never exposed to the browser).

No request is made until a page with the shortcode/block is rendered for a logged-in user.

Service provider and legal links:
This service is provided by BMDRM (https://bmdrm.com).
* Terms of Service: https://bmdrm.com/terms-of-service/
* Privacy Policy: https://bmdrm.com/privacy-policy/

By using this plugin you agree that the data described above is transmitted to BMDRM in order to provide the video playback functionality.

Privacy Policy

This plugin connects to the BMDRM API (https://cdn-lb.video-crypt.com/api/Sessions) to retrieve secure video playback URLs.

Data sent to BMDRM:
* Video ID
* WordPress username (user_login)
* API key (sent as an HTTP header; stored securely on the server and never exposed to the browser)

No additional personal data is collected by this plugin.

For details on how BMDRM handles this data, see the BMDRM Privacy Policy: https://bmdrm.com/privacy-policy/

Support

For plugin issues, use the WordPress.org support forum.
For BMDRM service questions, contact contact@bmdrm.com.

螢幕擷圖

  • Plugin settings page – API key configuration
  • Gutenberg block – Embedding a DRM-protected video

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • BMDRM Video Embed a secure DRM-protected video from BMDRM

安裝方式

  1. Install the plugin from Plugins Add New
  2. Activate BMDRM Video Player
  3. Go to Settings BMDRM Video
  4. Enter your BMDRM API key and save
  5. Ensure your site uses HTTPS (required for DRM)

常見問題集

Where do I get a video ID?

From your BMDRM dashboard.

Do users need to be logged in?

Yes. Videos are restricted to authenticated users.

Why doesn’t the video work on HTTP?

DRM requires a secure browser context. Production sites must use HTTPS. HTTP works only on localhost for development.

Can I add multiple videos on one page?

Yes. You can embed multiple shortcodes or blocks on the same page.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈BMDRM Video Player〉的開發相關工作。

參與者

將〈BMDRM Video Player〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release
  • Shortcode support
  • Gutenberg block support
  • Secure server-side API integration
  • Logged-in user enforcement
  • HTTPS / localhost validation