Skip to content

Create non public videos and deal with user groups

Daniel Neto edited this page Apr 13, 2024 · 10 revisions

Functionality

A video's privacy is determined by the user group(s) associated with it. If a video has no associated user group, it is considered public. However, if one or more groups are associated with it, only the users who are part of these group(s) will have access to view the video.

Adding a Video to a User Group

To associate a video with a specific group of users, follow these steps:

  1. Access the editing screen for the video.
  2. Uncheck the "public" option in the editing window.
  3. Select the group(s) of users you want to associate with the video from the list of available groups.

chrome-capture (4)

User Group Categories

One or more user groups can be specified for a particular category. When this is done, any video that is associated with this category will automatically be considered private. This means that only users who belong to the designated group(s) will have access to view the video.

chrome-capture (2)

Adding a User to a User Group

To associate a user with a specific group, follow these steps:

  1. Access the editing screen for the user.
  2. Choose the group(s) you want to associate with the user.

chrome-capture (3)

Automatic User Group Assignment

Automate the user group associated with the Subscription Plugin or the PayPerView Plugin. With Subscription, create plans for users to be dynamically added to groups for a specific time. For example, create a "Private" group and add videos that should be private. The plugin adds and removes users from groups automatically. Subscription involves recurrent payments, and users can renew their subscription when it expires.

PayPerView lets users purchase exclusive content for a set time at a defined price, with a one-time payment.

Examples

Example 1: Restrict Access to Premium Content

Suppose you have a video platform that offers both free and premium content. To restrict access to premium content only to paid subscribers, you can create a user group named "Premium Subscribers" and associate all paid subscribers with this group. Then, when you upload a premium video, you can associate it with the "Premium Subscribers" group, ensuring that only paid subscribers can access it.

Example 2: Create Private Categories

If you want to create private categories for specific groups of users, you can create a user group for each category and associate the corresponding users with these groups. For example, suppose you have a category for internal company training videos. You can create a user group named "Internal Employees" and associate all internal employees with this group. Then, when you create the training videos, you can associate them with the "Internal Employees" group, ensuring that only internal employees can access them.

Example 3: Allow External Access to Specific Videos

Suppose you have a video platform that is only accessible to internal employees, but you want to allow external access to specific videos for a limited time. You can create a user group named "External Access" and associate specific external users with this group. Then, when you upload the videos you want to share with external users, you can associate them with the "External Access" group, ensuring that only these specific external users can access them.

Example 4: Enforcing Login for Video Viewing

To ensure that only registered and logged-in users can view videos, follow these steps:

  1. Create a User Group: Establish a user group named "Registered Viewers" that all new videos will be associated with.

chrome-capture-2024-3-13 (1)

  1. Automatic Video Assignment: Implement the PredefinedCategory Plugin to automatically assign newly uploaded videos to the "Registered Viewers" group, making them accessible only to logged-in members of this group.

chrome-capture-2024-3-13

  1. Default User Group for New Users: Configure the CustomizeUser plugin to set "Registered Viewers" as the default user group for all new sign-ups. This ensures that only authenticated users can access the videos.

image

By implementing these steps, you effectively restrict video access to users who are logged in, enhancing privacy and content security on your platform.

These examples illustrate how user groups can be used to control video access and ensure privacy. The possibilities are endless, depending on your specific use case and requirements.

Clone this wiki locally