=== Secure Video Player (Shaka + EzDRM Support) ===
Contributors: sachinchawla21
Tags: drm, video, shaka, streaming, watermark
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This plugin integrates Shaka Player (by Google) and supports DRM via EzDRM. It is not affiliated with or endorsed by Google or EzDRM.

== Description ==

Secure Video Player (Shaka + EzDRM Support) is a WordPress plugin that lets you embed DRM-protected video streams directly using a simple shortcode.

Embed DRM-protected videos using Google's Shaka Player with support for Widevine, PlayReady, and FairPlay, plus dynamic floating watermarks for user identification.

It integrates with Shaka Player, supporting **Widevine, PlayReady, and FairPlay DRM**. It also adds **floating, diagonal user-specific watermarks** (email and IP) to help deter screen recording or sharing.

Perfect for e-learning, OTT, and secure video distribution.

**Features:**
* Embed DASH (MPD) and HLS (M3U8) streams
* Support for Widevine, PlayReady, and FairPlay DRM
* Floating diagonal watermark (user email + IP address)
* Lightweight and follows WordPress coding standards
* Shortcode-based integration

== Installation ==

1. Upload the `secure-video-player` folder to the `/wp-content/plugins/` directory, or install directly from the WordPress Plugin Directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **Settings → Secure Video Player** in your WordPress dashboard.
4. Enter your Widevine, PlayReady, and FairPlay pX values in the provided fields.
5. Upload fairplay.cer (FairPlay certificate).
6. Add the shortcode [svpdrm_video dash="..." hls="..."] where you want the video to appear.

== Frequently Asked Questions ==

= Is this plugin affiliated with Google or EzDRM? =
No. This plugin is independently developed and is not endorsed or affiliated with Google or EzDRM.

= Where can I find my pX values? =
Your pX values are provided by EzDRM under your account’s DRM profiles section.

= What DRM formats are supported? =
Widevine, PlayReady, and FairPlay (HLS).

== Source Code & Third-Party Libraries ==

This plugin uses the open-source Shaka Player library by Google to enable DRM playback.

**Included local files:**
- `/js/shaka-player.ui.min.js`
- `/css/controls.css`  
These are official, unmodified builds downloaded from the public Shaka Player repository.

**Original source code and build instructions:**  
https://github.com/shaka-project/shaka-player  
https://github.com/shaka-project/shaka-player#building  

**Plugin-specific code:**
- JavaScript: `/js/svpdrm-shaka-ezdrm-video.js`
- CSS: `/css/svpdrm-video-custom-css.css`  
Both are authored by the plugin developer and are human-readable.

License:
Apache License 2.0 for Shaka Player (https://github.com/shaka-project/shaka-player/blob/main/LICENSE)

Shaka Player files included here are official builds and are not modified. All plugin-specific PHP, JS, and CSS files are provided in human-readable form.

License Note:
This plugin’s original code is licensed under GPLv2 or later, while the included Shaka Player library is under Apache License 2.0. Both are compatible per WordPress.org guidelines.

== Changelog ==

= 1.0 =
* Initial release: Secure DRM-enabled video playback using Shaka Player and EzDRM.
