# VdoCipher Integration

## What is VdoCipher?

[**VdoCipher**](https://www.vdocipher.com/) is a secure video hosting and streaming platform designed to protect your premium video content from unauthorized access, downloads, and piracy. It is widely used in e-learning, media, and business sectors to ensure high-quality, secure video delivery.

{% embed url="<https://www.vdocipher.com/>" %}

#### Key Features of VdoCipher:

1. **Secure Video Encryption (DRM Protection):** VdoCipher employs Hollywood-grade DRM (Digital Rights Management) encryption to ensure that your video content remains secure and cannot be downloaded or pirated.
2. **Customizable Video Player:** Offers a customizable video player that allows you to maintain branding consistency.
3. **Adaptive Streaming:** Provides optimal video playback quality based on the viewer's internet speed.
4. **Comprehensive Analytics:** Tracks viewer behavior and engagement, providing actionable insights to improve your content strategy.
5. **Multi-Platform Compatibility:** Works seamlessly on web browsers, mobile applications, and other platforms.
6. **API Integration:** Allows developers to easily integrate VdoCipher's functionalities into existing systems or applications.

## VdoCipher x MasterStudy LMS Integration

The integration of VdoCipher with MasterStudy LMS combines the security and reliability of VdoCipher's video hosting with the powerful course management capabilities of **MasterStudy LMS.** This partnership allows educators and content creators to securely deliver video-based courses within a robust learning management system.

#### Benefits of the Integration:

1. **Secure Video Delivery:** Protect your course videos with VdoCipher's DRM encryption/.
2. **Seamless User Experience:** Embed VdoCipher videos directly into your MasterStudy LMS course pages for a smooth and professional experience.&#x20;
3. **Monetization Support:** Leverage MasterStudy LMS's payment gateways and monetization features while keeping your video content secure.
4. **Enhanced Engagement:** Use VdoCipher's customizable video player to provide an engaging viewing experience within your LMS.
5. **Content Analytics:** Track video engagement metrics alongside student progress in MasterStudy LMS.

## Integration Setup

VdoCipher plugin should be installed on your website with MasterStudy LMS to make the integration work.&#x20;

{% hint style="info" %}
Ensure **SSL** is enabled on your website for VdoCipher to work. That's why your site domain should be either in `https` or you should be testing on `http://localhost/` .
{% endhint %}

### Install & Activate VdoCipher

1. VdoCipher can be installed as any other plugin by following **WP Dashboard > Plugins > Add New** and search for **VdoCipher.** Click on the **Install** then **Activate** buttons:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FUxOtIc1OGFNHrRKJ1rlF%2Fimage.png?alt=media&#x26;token=b016b04a-db36-44c6-bdb0-7061146db5c6" alt=""><figcaption><p><strong>WP Dashboard > Plugins > Add New</strong></p></figcaption></figure>

2. After that, you will have VdoCipher in your WP Dashboard. It will ask you to enter the **API Secret Key. We have to get our** API key from VdoCipher's official website.

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FQFnhF5ne2XO7o5p2EWz8%2Fimage.png?alt=media&#x26;token=d1877300-181b-453b-9a22-9cb9776a7fdf" alt=""><figcaption></figcaption></figure>

### Obtain VdoCipher API Credentials

1. Visit the official VdoCipher website and [**sign in/up:**](https://www.vdocipher.com/dashboard/register)

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FjM33dqUSUcIAsNLySIfb%2Fimage.png?alt=media&#x26;token=be9e97da-0f93-4a60-8cd8-12e07894f7e6" alt=""><figcaption></figcaption></figure>

2. After that, you will be redirected to your [**VdoCipher Dashboard**](https://www.vdocipher.com/dashboard/) where you can manage your videos:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FRf85TjV6KHaPO26XhpWt%2Fimage.png?alt=media&#x26;token=4ce17a12-abd7-4e4a-be63-050712e84d38" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Videos can be uploaded only via this dashboard.&#x20;
{% endhint %}

3. Follow **VdoCipher Dashboard > Security & Config > API Keys** and click on <mark style="color:purple;">**Add API Key**</mark>:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FnnB3P4jdaYi6SE9xCjtt%2Fimage.png?alt=media&#x26;token=085a4912-4710-4ead-b041-fc1bf03e12f2" alt=""><figcaption><p><strong>VdoCipher Dashboard > Security &#x26; Config > API Keys</strong></p></figcaption></figure>

4. On the opened pop-up, you have to copy the API key:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FsgVpBP8fAWFlxp4Gkev0%2Fimage.png?alt=media&#x26;token=0174b92c-ad5a-41de-b81f-38d902536a2a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
VdoCipher gives the **one API Key only one time**. If you **fail** to **copy** the API Key or accidentally close the pop-up, you have to **create a new API Key.**&#x20;
{% endhint %}

5. Go back to WordPress and paste the key to the designated area:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FsbU1YFHFLHmvRtUBthRg%2Fimage.png?alt=media&#x26;token=d12f60ba-6ed0-4cb0-b004-bdee3aa0d4c6" alt=""><figcaption></figcaption></figure>

6. We are done! Further, you can customize the VdoCipher's settings in the plugin or your [**VdoCipher dashboard**](https://www.vdocipher.com/dashboard) according to your needs. Learn how to use it in their documentation:

{% embed url="<https://www.vdocipher.com/docs/server/>" %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fmq6zjxISQlUCoHi3HeFs%2Fimage.png?alt=media&#x26;token=f49ce00e-935c-4323-b4cd-722a1c47745d" alt=""><figcaption></figcaption></figure>

## How to Create Video Lessons with VdoCipher?

{% hint style="info" %}
Only the **admin** can select the VdoCipher as a source type. Instructors will not have the VdoCipher option in the course builder as there is an admin API Key in the VdoCipher plugin.&#x20;
{% endhint %}

Creating video lessons with VdoCipher is a super straightforward action in Course Builder. No extra settings are required to configure in MasterStudy LMS Settings. The existence of VdoCipher on your website is enough.

{% hint style="success" %}
Following the same process, you can select VdoCipher **as a** **video source** in [**the questions** ](https://docs.stylemixthemes.com/masterstudy-lms/lms-course-features/questions)(with [**Question Media Addon**](https://docs.stylemixthemes.com/masterstudy-lms/lms-pro-addons/question-media-addon#video)) and for the [**Video Preview**](https://docs.stylemixthemes.com/masterstudy-lms/lms-course-features/video-preview-for-single-course) on the Single Course Page.
{% endhint %}

1. Edit any Course in [**Course Builder**](https://docs.stylemixthemes.com/masterstudy-lms/lms-course-features/course-builder) and create a new [video lesson](https://docs.stylemixthemes.com/masterstudy-lms/lms-course-features/how-to-add-video-to-the-lesson). Select the VdoCipher as a source:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FV8aiErg0S3L7VSAvBJEY%2Fimage.png?alt=media&#x26;token=7cb542ba-37c8-44a8-9cfb-de6fd2b4fdb6" alt=""><figcaption></figcaption></figure>

2. In the Videos tab of the [VdoCipher dashboard](https://www.vdocipher.com/dashboard) copy the **Video ID**:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fv5M5jv6rWTA0FDmXuyAo%2Fimage.png?alt=media&#x26;token=131ea1fb-2a45-469b-b989-a10d543d3838" alt=""><figcaption></figcaption></figure>

3. Paste the copied **Video ID** to the designated area in the **Course Builder:**

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FABFrKbgh3CNAtR5Xgaa3%2Fimage.png?alt=media&#x26;token=8190acea-94d1-4e74-be0c-7f89d1fdbaff" alt=""><figcaption></figcaption></figure>

4. That's all. Here is how it will look in the **Course Player:**

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FqB4VwHDsx0KhahCozM2D%2Fimage.png?alt=media&#x26;token=55e9cf71-6afa-476e-9f2b-d82a70bf9c49" alt=""><figcaption><p>VdoCipher hides the videos when screenshot is taken</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stylemixthemes.com/masterstudy-lms/additional-features/vdocipher-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
