Moodle & WordPress

Put protected videos into the platform your course already runs on, with each student's identity carried through automatically.

WordPress

The free plugin adds a block and a shortcode, plus a video library inside your WordPress admin so you do not have to switch tabs to find an ID.

  1. 1. Install the plugin

    Download the ZIP from the WordPress integration page, then in WordPress go to Plugins → Add New → Upload Plugin → choose the ZIP → Activate.

  2. 2. Paste your API key

    Create a key under Settings → API keys in VideoKavach and paste it into the plugin settings. It is shown only once, so copy it before closing the dialog.

  3. 3. Add a video to a page

    Use the VideoKavach block in the editor, or the shortcode anywhere shortcodes are supported:

[videokavach id="vid_abc123"]

<!-- With the transcript beside the video -->
[videokavach id="vid_abc123" captions="side"]

The plugin works alongside the usual membership and LMS plugins — MemberPress, LearnDash, Tutor LMS, Restrict Content Pro — so your existing access rules keep applying.

Moodle

There are two Moodle plugins. Most institutes want the filter, which is the simpler of the two.

The text filter

Turns [videokavach id="…"] into a player anywhere Moodle renders text — course descriptions, lessons, forums, books, glossary entries. It adds no database tables and no new permissions.

  1. 1. Install it

    Download from the Moodle integration page and install as you would any Moodle plugin.

  2. 2. Enable the filter

    Site administration → Plugins → Filters → Manage filters. Set it to On, or to Off but available if you would rather enable it per course.

  3. 3. Set the watermark template

    Placeholders such as {email} and {fullname} are filled in from the logged-in Moodle user, so each student sees their own details on the video.

Students never see a VideoKavach URL

The filter renders the player inline within your Moodle page. As far as students are concerned the video lives in your LMS.

The filter does not work in the Moodle Mobile App

The official app strips iframes out of filtered text, so videos will not appear there. If your students are mainly on the app, use the activity module instead, or talk to us about the custom app option.

The activity module

A fuller integration that adds VideoKavach as a course activity, with signed tokens and OTP verification. Use this when you need videos tracked as activities, or when the mobile app matters.

Passing student identity

Both plugins pass the logged-in user into the watermark for you. If you are embedding by hand instead, decide between two approaches.

  • URL parameters — quick, but a student can edit them. Acceptable behind your own login with domains locked.
  • Signed tokens — your server signs the identity so it cannot be altered. Use for anything students have paid for. See embed tokens.

When a video will not play

  • Blank or blocked player— your site's domain is probably not on the allowlist. Add it under Settings, including any staging domain.
  • Works live, fails in preview — the same cause, for the preview domain.
  • Shortcode shows as plain text — the filter is not enabled, or is enabled only for other contexts.
  • Nothing in the Moodle app — expected with the text filter. See the note above.