All Collections
Self-Paced Content
Videos
How to add custom video sources to PlusPlus
How to add custom video sources to PlusPlus

Learn how to permit custom video sources in PlusPlus in addition to already-supported URL sources.

Chris Ramlow avatar
Written by Chris Ramlow
Updated over a week ago

Scenario

As a content owner, you want to share videos from your custom/proprietary platform so that team members can discover and consume it in PlusPlus.

As an admin, you want to control permitted video sources, so that you can minimize the risk of XSS issues.

Solution

Add custom video sources by following these steps.

  1. Go to Settings > Content > Videos.
    ​

  2. Specify a regular expression to allow a custom video URL source.
    For example, to allow any video URL that starts with https://videos.mycompany.com/embed/v/, define the pattern as ^https://videos.mycompany.com/embed/v/.*$.
    ​
    You can add multiple custom video sources by inserting a vertical bar ( | ) between each URL. For example:
    ​^https://videos.mycompany.com/embed/v/.*$|^https://mycompanyvideos.com/embed/v/.*$
    ​

  3. Save your settings.
    You can now add videos from the custom video URL source.
    For more, see How to upload videos.

Go deeper

For a full list of already-supported URL video sources, see PlusPlus 101: Getting started with videos.

See also

Did this answer your question?