PlayNAS videos provider

Overview

PlayNAS is a video provider that organizes video content into libraries. Each tenant has their own library, which users can access through an <iframe> tag. For example:

<iframe 
  src="https://play.devnas.net/111903/b1216788-8796-406d-9672-eb2e8c2cdba7" 
  width="100%" 
  height="100%" 
  frameborder="0" 
  allow="autoplay; fullscreen;" 
  allowfullscreen>
</iframe>

How PlayNAS Endpoint Works

The PlayNAS endpoint follows the structure:

https://play.devnas.net/{libraryId}/{videoId}

Example: To play a specific video from a library, substitute {libraryId} and {videoId} with the appropriate values provided by your library configuration.


How to Add a New Library for a Tenant

To set up a new library for a tenant:

  1. Create a New Tenant
    Navigate to the PlayNAS portal, create a new tenant, and log in as an admin.

  2. Add a New Library

    • Go to the Libraries from the menu.
    • Click Add New Library.
    • Fill in the required information, ensuring you order the necessary data from the business team.
      1 (2)
  3. Configure Library Details

    • After creating the library, click on the library card to open the detailed settings.
    • Set the essential information required for the library to function properly.
      2

How to Add Allowed Domains

To ensure your videos can be embedded securely:

  1. Navigate to the Allowed Domains section.
  2. Add the domains that should be allowed to embed your videos.
    3

How to Change the Player Color

To customize the player's appearance:

  1. Access the library settings.
  2. Choose a color from the color picker to change the player's theme. 4
In this document