Protect course videos on WordPress and WooCommerce
Two ways to sell video courses securely on a WordPress site or WooCommerce store with XAPlayer: a license per buyer, or the secure player inside your lesson pages.
All guides
Start
Quick start: your first protected course in 10 minutesVideo security: encryption, watermarks and what no player can doAdd to your site
Embed the secure player in WordPressSell video courses with WooCommerce and the secure playerThe XAPlayer secure player in MoodleThe XAPlayer secure player in LaravelThe XAPlayer secure player with Node.js and ExpressThe XAPlayer secure player in Next.jsThe XAPlayer secure player with Python: Django and FlaskHTML sites, site builders, or no serverFor sellers
Uploading videos and automatic protectionIssuing licenses, device limits and bulk issuingHow to stop IDM and downloaders from saving your course videosProtect course videos on WordPress and WooCommerceFor students
For students: watching a course with a license codePlatforms: Android, iPhone, Windows, Mac and LinuxWatching a course on AndroidWatching a course on iPhone and iPadWatching a course on Windows, Mac and LinuxFor developers
API reference: embed the secure player on any siteIf you sell courses on a WordPress site or a WooCommerce store, there are two ways to lock your videos with XAPlayer. Neither needs changes to your theme.
Option one: a license for each buyer#
The simplest way, with no code at all. Your videos live in XAPlayer and buyers watch in the browser with their license code.
- Upload your videos in the XAPlayer panel and arrange them into a course.
- After each WooCommerce order, issue the buyer a license from the Licenses page. For many buyers, paste the whole list at once.
- Send the buyer their license code and the watch page address, or add them to their order page.
Option two: the secure player inside your lesson pages#
If students have accounts on your site, put the player straight into your lesson pages. Signed-in students watch without a license code, with their own name on the picture.
- In the panel’s Settings, add your site’s domain to the allowed domains and create an API key.
- Your developer has the lesson template request a short-lived token from XAPlayer for the signed-in user. The complete, ready-to-paste code is in the WordPress and WooCommerce guides.
- The player appears inside the page and only plays on your own domains.
Which option suits you?#
- No developer, or just getting started? Choose option one.
- Students already sign in to your site and you want everything to stay there? Option two gives them a smoother experience.
- You can use both: one course with licenses and another inside your site.
Try XAPlayer free for 14 days, with 10 licenses on us.
Try it free with your own course