Streamit

User Restriction View

Overview

The User Restriction View provides a clear and interactive interface that shows users how restrictions are applied to their account based on their membership plan or default login rules. This view allows users to understand why certain actions such as logging in from an extra device or playing content on restricted platforms may be blocked. It also helps maintain account security and ensures proper use of your platform according to plan-based rules.


Below the overview, you can introduce the two main types of restrictions:

1. Login Flow Restriction

This section explains how login limits and device restrictions affect users during the sign-in process.

User Step 1 – Login Attempt

On the login screen, the user enters their username/email and password.
After submitting the credentials:

  • The system first checks whether the login details are valid.
  • If the credentials are incorrect, an appropriate error message is shown.
  • If the credentials are correct, the system checks how many devices are already logged in under this account.
  • If the user has reached their maximum allowed login limit, they are automatically redirected to a screen displaying all currently logged-in devices (shown in Step 2).

User Step 2 – Device List & Forced Logout

If the login limit has been reached, the user is shown a list of all active logged-in devices associated with their account.

On this screen:

  • The user sees a message instructing them to log out one device to continue.
  • Each device in the list shows:
    • Device name
    • Last active time
    • A Log Out button

To proceed:

  • The user must click Log Out on any one listed device.
  • After logging out a device, the system automatically completes the login using the credentials entered in Step 1.

2. Player Restriction

1. Limit Reached Template

This template is displayed when the user exceeds the allowed device limit for their account.
For example, if the account limit is 2 devices, but 3 devices are currently logged in, then all 3 logged-in users will immediately see this template on their screen under player.
Once any one of the devices is logged out, the remaining logged-in devices can continue watching content normally.

How This Template Works

The layout of the template is divided into two main sides:

🖥 Left Side – Restriction Message + Device Count
  • Shows a clear message such as “Device Limit Reached”
  • Displays how many devices are allowed and how many are currently logged in
  • Informs the user that they must log out one device to continue watching
  • Allows the user to understand the restriction instantly without confusion
➡ Right Side – Device Logout Panel

At the top-right section, users see a list of all currently logged-in devices:

  • Device name (browser/app/platform)
  • Last active time
  • A Log out button for each device

The user can log out any device from here to free up a slot and continue watching.

At the bottom-right section, the template displays a recommended membership plan, which allows higher or unlimited device limits.

  • The recommended plan is automatically selected based on the highest available price plan in the membership system.
  • Shows the upgraded plan name and price (fetched dynamically).
  • Encourages users to upgrade if they frequently reach the device limit.

2. “You Are Removed” Popup

This restriction is applied to ensure content security and prevent unauthorized or simultaneous device usage beyond the allowed limit.

When two or more users are logged in using the same account, any active user can remove another logged-in user from the session. If a user is watching a movie and another user removes them, the system will immediately display the “You’ve Been Removed” popup — even if the video is currently playing.
No refresh is required; the restriction appears automatically in real time.

After seeing this popup, the removed user cannot continue watching and must log in again to regain access.

How the Removal Popup Works

The popup includes:

  • A warning icon that clearly indicates the session has ended
  • Message Title: “You’ve Been Removed”
  • Description: Explains that another user has removed access and the session can no longer continue
  • Two buttons:
    • Go to Home – redirects the user back to the homepage
    • Back – returns the user to the previous page

This ensures that users understand why access was lost and provides a smooth path to exit the restricted session.