=== OsKracht Video Compressie ===
Contributors: oskracht
Tags: video, compression, video compression, self-hosted, no ads
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Compress videos up to 2GB without visible quality loss and display them self-hosted on your website, with no ads or third-party branding.

== Description ==

OsKracht Video Compressie helps you make large video files significantly smaller without visible quality loss, so you can self-host them on your WordPress website — no ads, no third-party branding, and no monthly subscription fees to services like Vimeo.

**Upload videos up to 2GB in size**, well beyond what most WordPress hosting normally allows. The plugin uploads directly to a secure external processing server, completely bypassing your own site's PHP upload limit (upload_max_filesize / post_max_size) - no server configuration changes needed.

The plugin sends your video to a secure external processing server (video.oskracht.nl) where compression takes place via FFmpeg. This happens because video compression is very resource-intensive and not suitable for regular shared WordPress hosting.

The video player's display width is fully adjustable, both via the shortcode and directly in the Elementor widget.

**Free trial**: compress your first 2 videos for free, with no watermark. A one-time upgrade to Premium is available for unlimited use.

**For developers managing multiple websites**: create a free developer account at [video.oskracht.nl/login](https://video.oskracht.nl/login) to add and manage several client websites from one place, with a shared subscription and full control over how much storage and bandwidth each individual site is allocated.

== External Services ==

This plugin uses an external service to compress videos, because video compression is too resource-intensive to run on regular (shared) WordPress hosting.

**Service**: OsKracht Video Compressie server (video.oskracht.nl), operated by OsKracht.

**When**: only when the site administrator deliberately uploads a video via the plugin's settings screen, or selects an existing video in the media library to optimize. Data is never sent automatically or without the administrator's action.

**What data is sent**:
- The video file to be compressed
- The website's domain name (for license linking)
- The site administrator's email address (required when activating the plugin, including for the free trial)
- Optional: if the site administrator uses the built-in sharing feature to send a compressed video by email, the recipient's email address they provide is used once to send that email

**Retention period**: the uploaded original is removed from the external server immediately after processing. The compressed video remains on the server as long as the account is active. In case of prolonged inactivity (depending on the chosen plan, typically several months), the account holder first receives an email warning, with a reasonable period to become active again before deletion takes place.

**Payments**: processed via [Stripe](https://stripe.com). OsKracht does not store any payment card details itself.

View the [full privacy policy](https://oskracht.nl/privacy-policy) or contact info@oskracht.nl. By activating and configuring the plugin, you agree to sending the data described above to this external service.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the plugin directly via the WordPress plugin screen.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to 'OsKracht Video' in the admin menu to get started.

== Frequently Asked Questions ==

= Can I upload a large video even though WordPress normally limits uploads? =
Yes. Videos are uploaded directly to the external processing server, not through WordPress itself, so your site's normal upload limit (upload_max_filesize) does not apply. You can upload videos up to 2GB in size, with no server or hosting configuration changes required.

= Where is my video processed? =
Videos are processed on a secure external server (video.oskracht.nl), operated by OsKracht. This happens because video compression is too resource-intensive for shared WordPress hosting.

= Is my video stored permanently? =
Uploaded originals are removed from the external server after processing. Compressed videos remain there as long as the account is active. In case of prolonged inactivity, the account holder first receives an email warning, with a reasonable period to become active again before the video is deleted.

= Can I restore an optimized video in my media library back to the original? =
Yes. When you optimize an existing video from your media library, the plugin keeps a backup of the original locally on your own website. You can restore it at any time with one click via the "Restore original" link in your media library.

== Changelog ==

= 1.2.0 =
* All subscription and add-on purchase options have moved to the new developer dashboard (video.oskracht.nl/login). This screen now focuses purely on compression, with a link to manage your subscription.
* Removed the outdated mention of a watermark during the trial period (no longer applies) - the free trial no longer adds a watermark at all.
* Developers managing multiple client websites can now add and remove sites from a single account on the developer dashboard, and freely divide their shared storage and bandwidth allowance across each site.

= 1.1.1 =
* Fixed: uninstalling the plugin now also removes the site activation key setting.

= 1.1.0 =
* Added the option to activate with an activation key from a developer dashboard, alongside the existing email-based activation.

= 1.0.0 =
* Initial release.
